[FFmpeg-cvslog] r11267 - trunk/libavformat/avformat.h
michael
subversion
Wed Dec 19 11:58:54 CET 2007
Author: michael
Date: Wed Dec 19 11:58:54 2007
New Revision: 11267
Log:
Remove *_codec_id from AVFormatParameters with the next major version bump.
AVFormatParameters is never available when needed and is an annoying mess.
Modified:
trunk/libavformat/avformat.h
Modified: trunk/libavformat/avformat.h
==============================================================================
--- trunk/libavformat/avformat.h (original)
+++ trunk/libavformat/avformat.h Wed Dec 19 11:58:54 2007
@@ -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
More information about the ffmpeg-cvslog
mailing list