diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-04-28 23:18:35 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-12 12:03:00 +0200 |
commit | b2ac792367382bcc90fa39290161c937f934b01a (patch) | |
tree | 8b4f6fcbfbec1a3f600840f1ffdf2119702f1e46 /libavcodec/mpv_reconstruct_mb_template.c | |
parent | 2f6768c761ebdd50e6c6fc5ade0ed19fd647842f (diff) | |
download | ffmpeg-b2ac792367382bcc90fa39290161c937f934b01a.tar.gz |
avcodec/mpegvideo: Use enum for msmpeg4_version
Improves readability.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpv_reconstruct_mb_template.c')
-rw-r--r-- | libavcodec/mpv_reconstruct_mb_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpv_reconstruct_mb_template.c b/libavcodec/mpv_reconstruct_mb_template.c index 9aacf380a1..6ad353ddfd 100644 --- a/libavcodec/mpv_reconstruct_mb_template.c +++ b/libavcodec/mpv_reconstruct_mb_template.c @@ -173,7 +173,7 @@ void mpv_reconstruct_mb_internal(MpegEncContext *s, int16_t block[12][64], } /* add dct residue */ - if (!(IS_MPEG12(s) || s->msmpeg4_version || + if (!(IS_MPEG12(s) || s->msmpeg4_version != MSMP4_UNUSED || (s->codec_id == AV_CODEC_ID_MPEG4 && !s->mpeg_quant))) #endif /* !IS_ENCODER */ { |