mirror of https://github.com/FFmpeg/FFmpeg.git
codec_id is always AV_CODEC_ID_MPEG4 for mpeg4_decode_mb(), as the MPEG-4 decoder is the only decoder for which ff_mpeg4_decode_picture_header() as well as decode_init() are ever called and these are the only places where the decode_mb function pointer is ever set to mpeg4_decode_mb(). ff_mpeg4_workaround_bugs() is also only called for the MPEG-4 decoder (the caller checks the codec id). (ff_mpeg4_decode_picture_header() is also called for the MPEG-4 parser, but it never uses the decode_mb function pointer.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>pull/388/head
parent
e19d10645c
commit
77f8d2da9d
1 changed files with 2 additions and 4 deletions
Loading…
Reference in new issue