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
pull/126/head
Michael Niedermayer 17 years ago
parent 626004690c
commit 7195731522
  1. 2
      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

Loading…
Cancel
Save