diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-12-23 04:42:51 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-01-04 16:28:55 +0100 |
commit | 854e3d47341b7c551c68abd6e19bbe6c20c6040b (patch) | |
tree | c9fc1a863ec0a237433e9ab6a1a40615ff7fe6ca /libavcodec/mpegvideo.c | |
parent | f5ddf0ab197cb88bac3ce361481a0408f5fd8ea7 (diff) | |
download | ffmpeg-854e3d47341b7c551c68abd6e19bbe6c20c6040b.tar.gz |
avcodec/mpegvideo: Don't check for > 8 bit MPEG-1/2
It doesn't exist.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 5e87a41f52..b38282dcb2 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -2128,7 +2128,7 @@ void mpv_reconstruct_mb_internal(MpegEncContext *s, int16_t block[12][64], } else { /* Only MPEG-4 Simple Studio Profile is supported in > 8-bit mode. TODO: Integrate 10-bit properly into mpegvideo.c so that ER works properly */ - if (s->avctx->bits_per_raw_sample > 8){ + if (!is_mpeg12 && s->avctx->bits_per_raw_sample > 8) { const int act_block_size = block_size * 2; if(s->dpcm_direction == 0) { |