You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user