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

Baptiste Coudurier baptiste.coudurier
Mon Apr 28 12:42:02 CEST 2008


Hi Benoit,

Benoit Fouet wrote:
> bcoudurier wrote:
>> Modified: trunk/libavcodec/mpegaudiodec.c
>> ==============================================================================
>> --- trunk/libavcodec/mpegaudiodec.c	(original)
>> +++ trunk/libavcodec/mpegaudiodec.c	Sat Apr 26 14:51:52 2008
>> @@ -2581,12 +2581,9 @@ static int decode_frame_mp3on4(AVCodecCo
>>      for (fr = 0; fr < s->frames; fr++) {
>>          start = start2;
>>          fsize = (start[0] << 4) | (start[1] >> 4);
>> +        fsize = FFMIN3(fsize, len, MPA_MAX_CODED_FRAME_SIZE);
>>          start2 += fsize;
>>   
> 
> shouldn't those two last lines be swapped ?
> 

Why that ? Besides code has changed again.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG SAS                                     http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-cvslog mailing list