summaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-03-28 13:41:04 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-03-28 13:41:04 +0000
commit649c00c96d7044aed46d70623e47d7434318e6b9 (patch)
tree90601636422687ba1e0f307b7919bfcda92710dc /libavcodec/mpeg12.c
parentcf8039b2cf590416a6402b31b444b25e593d5d62 (diff)
downloadffmpeg-streaming-649c00c96d7044aed46d70623e47d7434318e6b9.zip
ffmpeg-streaming-649c00c96d7044aed46d70623e47d7434318e6b9.tar.gz
sizeof(s->block) isnt 64*6*2 anymore bugfix
mpeg12 decoding optimization Originally committed as revision 364 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c2
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)
OpenPOWER on IntegriCloud