[FFmpeg-devel] [PATCH] eatgq: do not call tgq_idct_put_mb_dconly on unsupported mode

Peter Ross pross at xvid.org
Sun Oct 14 12:51:31 CEST 2012


---
 libavcodec/eatgq.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/eatgq.c b/libavcodec/eatgq.c
index 5114b20..48e18e7 100644
--- a/libavcodec/eatgq.c
+++ b/libavcodec/eatgq.c
@@ -168,6 +168,7 @@ static void tgq_decode_mb(TgqContext *s, int mb_y, int mb_x){
             }
         }else{
             av_log(s->avctx, AV_LOG_ERROR, "unsupported mb mode %i\n", mode);
+            return;
         }
         tgq_idct_put_mb_dconly(s, mb_x, mb_y, dc);
     }
-- 
1.7.10.4

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121014/56f052d7/attachment.asc>


More information about the ffmpeg-devel mailing list