diff options
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 4d61df5..24fc5db 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -1402,7 +1402,7 @@ static int mpeg_decode_slice(AVCodecContext *avctx, } for(;;) { - memset(s->block, 0, sizeof(s->block)); + clear_blocks(s->block[0]); ret = mpeg_decode_mb(s, s->block); dprintf("ret=%d\n", ret); if (ret < 0) |