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
This commit is contained in:
Michael Niedermayer 2007-12-19 10:58:54 +00:00
parent 626004690c
commit 7195731522
1 changed files with 2 additions and 0 deletions

View File

@ -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