diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-07 03:43:40 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-07 05:24:14 +0400 |
commit | f5d6b0c9c2bd593c8780ce073fad23cc7a16ef21 (patch) | |
tree | 816059307836dfda0490962c26e4a55fb536ad09 | |
parent | 2f6ec9fdd7808c8ed045ae0ca4134ab21fb785e6 (diff) |
diracdec: fix typo in mctmp allocation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/diracdec.c | 2 |
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) |