1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00

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

View File

@ -147,8 +147,10 @@ typedef struct AVFormatParameters {
int initial_pause:1; /**< do not begin to play the stream int initial_pause:1; /**< do not begin to play the stream
immediately (RTSP only) */ immediately (RTSP only) */
int prealloced_context:1; int prealloced_context:1;
#if LIBAVFORMAT_VERSION_INT < (53<<16)
enum CodecID video_codec_id; enum CodecID video_codec_id;
enum CodecID audio_codec_id; enum CodecID audio_codec_id;
#endif
} AVFormatParameters; } AVFormatParameters;
//! demuxer will use url_fopen, no opened file should be provided by the caller //! demuxer will use url_fopen, no opened file should be provided by the caller