[FFmpeg-cvslog] lavf: remove disabled FF_API_PKT_DUMP cruft
Anton Khirnov
git at videolan.org
Sat Jan 28 08:05:08 CET 2012
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Thu Jan 12 13:31:55 2012 +0100| [21824e5b88c4f5796e47847c0331bae223a21e49] | committer: Anton Khirnov
lavf: remove disabled FF_API_PKT_DUMP cruft
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=21824e5b88c4f5796e47847c0331bae223a21e49
---
libavformat/avformat.h | 7 -------
libavformat/utils.c | 16 ----------------
libavformat/version.h | 3 ---
3 files changed, 0 insertions(+), 26 deletions(-)
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index cbb139f..fe2b0cf 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1195,13 +1195,6 @@ AVProgram *av_new_program(AVFormatContext *s, int id);
attribute_deprecated enum CodecID av_guess_image2_codec(const char *filename);
#endif
-#if FF_API_PKT_DUMP
-attribute_deprecated void av_pkt_dump(FILE *f, AVPacket *pkt, int dump_payload);
-attribute_deprecated void av_pkt_dump_log(void *avcl, int level, AVPacket *pkt,
- int dump_payload);
-#endif
-
-
/**
* @addtogroup lavf_decoding
* @{
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 185418f..d241200 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -3493,27 +3493,11 @@ static void pkt_dump_internal(void *avcl, FILE *f, int level, AVPacket *pkt, int
av_hex_dump(f, pkt->data, pkt->size);
}
-#if FF_API_PKT_DUMP
-void av_pkt_dump(FILE *f, AVPacket *pkt, int dump_payload)
-{
- AVRational tb = { 1, AV_TIME_BASE };
- pkt_dump_internal(NULL, f, 0, pkt, dump_payload, tb);
-}
-#endif
-
void av_pkt_dump2(FILE *f, AVPacket *pkt, int dump_payload, AVStream *st)
{
pkt_dump_internal(NULL, f, 0, pkt, dump_payload, st->time_base);
}
-#if FF_API_PKT_DUMP
-void av_pkt_dump_log(void *avcl, int level, AVPacket *pkt, int dump_payload)
-{
- AVRational tb = { 1, AV_TIME_BASE };
- pkt_dump_internal(avcl, NULL, level, pkt, dump_payload, tb);
-}
-#endif
-
void av_pkt_dump_log2(void *avcl, int level, AVPacket *pkt, int dump_payload,
AVStream *st)
{
diff --git a/libavformat/version.h b/libavformat/version.h
index 7696cd6..097fdaa 100644
--- a/libavformat/version.h
+++ b/libavformat/version.h
@@ -47,9 +47,6 @@
* Those FF_API_* defines are not part of public API.
* They may change, break or disappear at any time.
*/
-#ifndef FF_API_PKT_DUMP
-#define FF_API_PKT_DUMP (LIBAVFORMAT_VERSION_MAJOR < 54)
-#endif
#ifndef FF_API_GUESS_IMG2_CODEC
#define FF_API_GUESS_IMG2_CODEC (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
More information about the ffmpeg-cvslog
mailing list