diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-12 19:17:21 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-20 07:56:17 +0200 |
commit | 77f8d2da9de33b791a7d6b88fe89e77b25daca5c (patch) | |
tree | 51c5e1e66ea0e0f4547752190120f0dab33f703c /libavcodec/file_open.c | |
parent | e19d10645cf43e536c4116822e7736d1696ee378 (diff) | |
download | ffmpeg-77f8d2da9de33b791a7d6b88fe89e77b25daca5c.tar.gz |
avcodec/mpeg4videodec: Remove always-true checks
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>
Diffstat (limited to 'libavcodec/file_open.c')
0 files changed, 0 insertions, 0 deletions