aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-07 00:43:40 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-07 02:24:14 +0100
commitf5d6b0c9c2bd593c8780ce073fad23cc7a16ef21 (patch)
tree816059307836dfda0490962c26e4a55fb536ad09
parent2f6ec9fdd7808c8ed045ae0ca4134ab21fb785e6 (diff)
downloadffmpeg-f5d6b0c9c2bd593c8780ce073fad23cc7a16ef21.tar.gz
diracdec: fix typo in mctmp allocation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/diracdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/diracdec.c b/libavcodec/diracdec.c
index 0ee16313af..c431b97019 100644
--- a/libavcodec/diracdec.c
+++ b/libavcodec/diracdec.c
@@ -350,7 +350,7 @@ static int alloc_sequence_buffers(DiracContext *s)
s->blmotion = av_malloc(sbwidth * sbheight * 16 * sizeof(*s->blmotion));
s->edge_emu_buffer_base = av_malloc((w+64)*MAX_BLOCKSIZE);
- s->mctmp = av_malloc((w+64+MAX_BLOCKSIZE) * (h*MAX_BLOCKSIZE) * sizeof(*s->mctmp));
+ s->mctmp = av_malloc((w+64+MAX_BLOCKSIZE) * (h+MAX_BLOCKSIZE) * sizeof(*s->mctmp));
s->mcscratch = av_malloc((w+64)*MAX_BLOCKSIZE);
if (!s->sbsplit || !s->blmotion || !s->mctmp || !s->mcscratch)