mp3on4: do not needlessly set data_size to 0
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 25 Oct 2011 16:46:57 +0000 (12:46 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Fri, 28 Oct 2011 02:06:32 +0000 (22:06 -0400)
libavcodec/mpegaudiodec.c

index 2751df6..d5af782 100644 (file)
@@ -2047,7 +2047,6 @@ static int decode_frame_mp3on4(AVCodecContext * avctx,
         return AVERROR(EINVAL);
     }
 
-    *data_size = 0;
     // Discard too short frames
     if (buf_size < HEADER_SIZE)
         return AVERROR_INVALIDDATA;