1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavcodec
Andreas Rheinhardt 77f8d2da9d 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>
2022-10-20 07:56:17 +02:00
..
2022-10-18 13:20:37 +11:00
2022-10-17 09:56:47 +02:00
2022-10-05 08:26:19 +02:00
2022-10-05 08:26:19 +02:00
2022-10-18 13:20:37 +11:00
2022-10-18 13:20:37 +11:00
2022-10-20 06:57:30 +02:00
2022-10-08 10:19:30 +02:00
2022-10-18 09:59:58 +08:00
2022-10-14 16:14:24 +02:00
2022-10-17 09:51:47 +02:00
2022-10-18 13:20:37 +11:00
2022-10-13 23:42:25 +02:00
2022-10-18 13:20:37 +11:00