[FFmpeg-devel] [PATCH] ALS decoder
Diego Biurrun
diego
Tue Aug 25 20:40:31 CEST 2009
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.
> + // 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
Diego
More information about the ffmpeg-devel
mailing list