It doesn't exist.

Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
---
Apart from the mpeg4 decoder no mpegvideo decoder sets
bits_per_raw_sample. Should it be set (in ff_mpv_decode_init())?

 libavcodec/mpegvideo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 3a42e08a04..4e6ad92473 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) {
-- 
2.32.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to