[FFmpeg-devel] [PATCH] ALS decoder

Thilo Borgmann thilo.borgmann
Tue Aug 25 20:48:16 CEST 2009


Diego Biurrun schrieb:
> On Tue, Aug 25, 2009 at 07:59:32PM +0200, Thilo Borgmann wrote:
>> Revision 10 attached.
>>
>> --- libavcodec/alsdec.c	(revision 0)
>> +++ libavcodec/alsdec.c	(revision 0)
>> @@ -0,0 +1,1048 @@
>> +
>> +            // if joint_stereo and block_switching is set, independent decoding
>> +            // is signaled via the first bit of bs_info
>> +            if(sconf->joint_stereo && sconf->block_switching) {
> 
> if (
> 
> I suggest you fix this by search and replace once instead of
> repeatedly failing to get all instances fixed manually.
Indeed but this one was the last one.

> 
>> +    // the last frame to decode might have a different length
>> +    if (ctx->num_frames && ctx->num_frames - 1 == ctx->frame_id) {
>> +        ctx->cur_frame_length = ctx->last_frame_length;
>> +    }
> 
> {} still pointless
And I think this is the last one of these too.


Will be part of revision 11.

-Thilo



More information about the ffmpeg-devel mailing list