From 6b460aa387530feefc91302c150a3405997e61cf Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 11 Sep 2002 07:26:43 +0000 Subject: reducing sizeof MpegEncContext to avoid stack overflow on crap M$ windo$ Originally committed as revision 914 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/mpegvideo.h') 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 */ -- cgit v1.2.3