From b587a7cb2b3dad0c75ad266767b3f7aca2af65de Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 4 Nov 2002 20:57:08 +0000 Subject: [PATCH] vc++ sucks, found by ("csharprules" ) Originally committed as revision 1160 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegaudiodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index 93bd147ff3..a119b481d5 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -301,7 +301,7 @@ static int int_pow(int i, int *exp_ptr) static int decode_init(AVCodecContext * avctx) { MPADecodeContext *s = avctx->priv_data; - static int init; + static int init=0; int i, j, k; if(!init) {