mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 20:10:09 +01:00
avcodec/mpegvideo: Don't check for > 8 bit MPEG-1/2
It doesn't exist. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -2128,7 +2128,7 @@ void mpv_reconstruct_mb_internal(MpegEncContext *s, int16_t block[12][64],
|
|||||||
} else {
|
} else {
|
||||||
/* Only MPEG-4 Simple Studio Profile is supported in > 8-bit mode.
|
/* 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 */
|
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;
|
const int act_block_size = block_size * 2;
|
||||||
|
|
||||||
if(s->dpcm_direction == 0) {
|
if(s->dpcm_direction == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user