[FFmpeg-cvslog] diracdec: fix typo in mctmp allocation
Michael Niedermayer
git at videolan.org
Fri Dec 7 02:25:03 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Dec 7 00:43:40 2012 +0100| [f5d6b0c9c2bd593c8780ce073fad23cc7a16ef21] | committer: Michael Niedermayer
diracdec: fix typo in mctmp allocation
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f5d6b0c9c2bd593c8780ce073fad23cc7a16ef21
---
libavcodec/diracdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/diracdec.c b/libavcodec/diracdec.c
index 0ee1631..c431b97 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)
More information about the ffmpeg-cvslog
mailing list