aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegaudiodec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-11-04 20:57:08 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-11-04 20:57:08 +0000
commitb587a7cb2b3dad0c75ad266767b3f7aca2af65de (patch)
tree3e9da497a70056798f669e597db2d6a4413fb137 /libavcodec/mpegaudiodec.c
parent3b783b6b58ce599e2318cb800fe22bfd0174705a (diff)
downloadffmpeg-b587a7cb2b3dad0c75ad266767b3f7aca2af65de.tar.gz
vc++ sucks, found by ("csharprules" <csharprules at hotmail dot com>)
Originally committed as revision 1160 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r--libavcodec/mpegaudiodec.c2
1 files changed, 1 insertions, 1 deletions
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) {