[FFmpeg-devel] [PATCH] avcodec/mpeg4videodec: Remove use of FF_PROFILE_MPEG4_SIMPLE_STUDIO as indicator of studio profile
Michael Niedermayer
michael at niedermayer.cc
Wed Jul 4 13:12:54 EEST 2018
On Tue, Jul 03, 2018 at 01:08:58AM +0200, Michael Niedermayer wrote:
> The profile field is changed by code inside and outside the decoder,
> its not a reliable indicator of the internal codec state.
> Maintaining it consistency with studio_profile is messy.
> Its easier to just avoid it and use only studio_profile
>
> Fixes: assertion failure
> Fixes: ffmpeg_crash_9.avi
>
> Found-by: Thuan Pham, Marcel Böhme, Andrew Santosa and Alexandru Razvan Caciulescu with AFLSmart
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
> libavcodec/error_resilience.c | 3 +--
> libavcodec/h263dec.c | 6 ++++--
> libavcodec/mpeg4videodec.c | 1 -
> 3 files changed, 5 insertions(+), 5 deletions(-)
will apply
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180704/37b5fe13/attachment.sig>
More information about the ffmpeg-devel
mailing list