From 71957315228290507c58610b6da1e60a289f28a1 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 19 Dec 2007 10:58:54 +0000 Subject: [PATCH] Remove *_codec_id from AVFormatParameters with the next major version bump. AVFormatParameters is never available when needed and is an annoying mess. Originally committed as revision 11267 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/avformat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 27d3c00..b7554d4 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -147,8 +147,10 @@ typedef struct AVFormatParameters { int initial_pause:1; /**< do not begin to play the stream immediately (RTSP only) */ int prealloced_context:1; +#if LIBAVFORMAT_VERSION_INT < (53<<16) enum CodecID video_codec_id; enum CodecID audio_codec_id; +#endif } AVFormatParameters; //! demuxer will use url_fopen, no opened file should be provided by the caller -- 2.7.4