]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vp9dsp.c
avcodec/vp9: fix () in macros
[ffmpeg] / libavcodec / vp9dsp.c
index e2f99f72c843abadcd78ed885a975e8cc204cc3e..6356adde32ff20383e20c1701dfb2624e3da4b4b 100644 (file)
@@ -896,7 +896,7 @@ itxfm_wrapper(iadst, idct,  sz, bits, 0) \
 itxfm_wrapper(idct,  iadst, sz, bits, 0) \
 itxfm_wrapper(iadst, iadst, sz, bits, 0)
 
-#define IN(x) in[x * stride]
+#define IN(x) in[(x) * stride]
 
 static av_always_inline void idct4_1d(const int16_t *in, ptrdiff_t stride,
                                       int16_t *out, int pass)