summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-09-11 07:26:43 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-09-11 07:26:43 +0000
commit6b460aa387530feefc91302c150a3405997e61cf (patch)
treecb420c1dcd5153a3a1d1c704ebac6b241593531b /libavcodec/mpegvideo.h
parentdf1b2c141b7f36102f651598f8d1abf27f28b0a0 (diff)
reducing sizeof MpegEncContext to avoid stack overflow on crap M$ windo$
Originally committed as revision 914 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 00e6ebe46e..611671bf65 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -415,7 +415,7 @@ typedef struct MpegEncContext {
UINT8 *intra_v_scantable;
UINT8 *intra_h_scantable;
/* [mb_intra][isChroma][level][run][last] */
- int ac_stats[2][2][MAX_LEVEL+1][MAX_RUN+1][2];
+ int (*ac_stats)[2][MAX_LEVEL+1][MAX_RUN+1][2];
int inter_intra_pred;
/* decompression specific */