diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-11-08 18:35:39 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-11-08 18:35:39 +0000 |
commit | d7425f59d5fc01bccde90cccd42ba592961b2d03 (patch) | |
tree | 8850da761a569ae73679a833425117066270ca42 /libav/utils.c | |
parent | 005ba718846a00c0a432c4ab58666111942a0a2f (diff) | |
download | ffmpeg-d7425f59d5fc01bccde90cccd42ba592961b2d03.tar.gz |
cleanup (breaks compatibility, requested by fabrice)
remove CODEC_FLAG_NOT_TRUNCATED & add CODEC_FLAG_TRUNCATED
add CODEC_CAP_TRUNCATED
add alpha plane to AVPicture
remove CODEC_ID_MSMPEG4
remove various unused stuff
support "truncated" mpeg4 streams
Originally committed as revision 1175 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libav/utils.c')
-rw-r--r-- | libav/utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libav/utils.c b/libav/utils.c index 8a609a9b22..0c12561b8d 100644 --- a/libav/utils.c +++ b/libav/utils.c @@ -536,6 +536,9 @@ int av_find_stream_info(AVFormatContext *ic) st->codec_info_state = CSTATE_FOUND; codec = avcodec_find_decoder(st->codec.codec_id); if (codec) { + if(codec->capabilities & CODEC_CAP_TRUNCATED) + st->codec.flags |= CODEC_FLAG_TRUNCATED; + ret = avcodec_open(&st->codec, codec); if (ret >= 0) st->codec_info_state = CSTATE_DECODING; |