Skip to content
Snippets Groups Projects
Commit bd27a936 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/mpeg4videodec: Remove use of FF_PROFILE_MPEG4_SIMPLE_STUDIO as indicator of studio profile


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: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 3b10bb87
No related branches found
No related tags found
No related merge requests found
Loading
  • Auri @aurieh

    mentioned in commit 5fd1dce3

    ·

    mentioned in commit 5fd1dce3

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment