Index: patched-ffmpeg-mt/libavcodec/mpegvideo_enc.c |
=================================================================== |
--- patched-ffmpeg-mt/libavcodec/mpegvideo_enc.c (revision 41250) |
+++ patched-ffmpeg-mt/libavcodec/mpegvideo_enc.c (working copy) |
@@ -27,6 +27,7 @@ |
* The simplest mpeg encoder (well, it was the simplest!). |
*/ |
+#include "libavutil/intmath.h" |
#include "avcodec.h" |
#include "dsputil.h" |
#include "mpegvideo.h" |
@@ -3313,7 +3314,7 @@ |
DCTELEM *block, int16_t *weight, DCTELEM *orig, |
int n, int qscale){ |
int16_t rem[64]; |
- DECLARE_ALIGNED_16(DCTELEM, d1)[64]; |
+ LOCAL_ALIGNED_16(DCTELEM, d1, [64]); |
const uint8_t *scantable= s->intra_scantable.scantable; |
const uint8_t *perm_scantable= s->intra_scantable.permutated; |
// unsigned int threshold1, threshold2; |