Mercurial > libavformat.hg
changeset 2833:578a0c783eae libavformat
Remove *_codec_id from AVFormatParameters with the next major version bump.
AVFormatParameters is never available when needed and is an annoying mess.
author | michael |
---|---|
date | Wed, 19 Dec 2007 10:58:54 +0000 |
parents | 8ac5fe1c5549 |
children | 63fda6ba2173 |
files | avformat.h |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/avformat.h Wed Dec 19 10:56:17 2007 +0000 +++ b/avformat.h Wed Dec 19 10:58:54 2007 +0000 @@ -147,8 +147,10 @@ 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