[FFmpeg-cvslog] r12998 - trunk/libavcodec/mpegaudiodec.c

bcoudurier subversion
Sat Apr 26 16:36:34 CEST 2008


Author: bcoudurier
Date: Sat Apr 26 16:36:34 2008
New Revision: 12998

Log:
merge init with declaration

Modified:
   trunk/libavcodec/mpegaudiodec.c

Modified: trunk/libavcodec/mpegaudiodec.c
==============================================================================
--- trunk/libavcodec/mpegaudiodec.c	(original)
+++ trunk/libavcodec/mpegaudiodec.c	Sat Apr 26 16:36:34 2008
@@ -2566,15 +2566,13 @@ static int decode_frame_mp3on4(AVCodecCo
 {
     MP3On4DecodeContext *s = avctx->priv_data;
     MPADecodeContext *m;
-    int len, fsize, out_size = 0;
+    int fsize, len = buf_size, out_size = 0;
     uint32_t header;
     OUT_INT *out_samples = data;
     OUT_INT decoded_buf[MPA_FRAME_SIZE * MPA_MAX_CHANNELS];
     OUT_INT *outptr, *bp;
     int fr, j, n;
 
-    len = buf_size;
-
     *data_size = 0;
     // Discard too short frames
     if (buf_size < HEADER_SIZE)




More information about the ffmpeg-cvslog mailing list