aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp9.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-18 02:55:35 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-18 03:13:37 +0200
commitaab23f5ddd3d25feb300049683437d9c1cd6336c (patch)
treeca2f8fe3cbdeb21e335cba45e50fdde39a86b215 /libavcodec/vp9.c
parent28bf11150346cede3a65f5a00e12cc265e0ccd5a (diff)
downloadffmpeg-aab23f5ddd3d25feb300049683437d9c1cd6336c.tar.gz
avcodec/vp9: fix () in macros
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp9.c')
-rw-r--r--libavcodec/vp9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index 000e9918a5..56975bd577 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -325,7 +325,7 @@ static int update_size(AVCodecContext *ctx, int w, int h)
s->cols = (w + 7) >> 3;
s->rows = (h + 7) >> 3;
-#define assign(var, type, n) var = (type) p; p += s->sb_cols * n * sizeof(*var)
+#define assign(var, type, n) var = (type) p; p += s->sb_cols * (n) * sizeof(*var)
av_freep(&s->intra_pred_data[0]);
p = av_malloc(s->sb_cols * (240 + sizeof(*s->lflvl) + 16 * sizeof(*s->above_mv_ctx)));
if (!p)