[FFmpeg-devel] E-AC-3 in FFmpeg

Justin Ruggles justinruggles
Wed Nov 7 02:23:59 CET 2007


> @@ -1062,7 +1051,9 @@
>          }
>      }
>  
> -    do_imdct(ctx);
> +    ff_ac3_do_imdct(&ctx->dsp, &ctx->imdct,
> +                    ctx->nfchans + !!(ctx->output_mode == AC3_OUTPUT_LFEON),
> +                    ctx->blksw, ctx->transform_coeffs, ctx->output);
>  
>      /* downmix output if needed */
>      if(ctx->nchans != ctx->out_channels && !((ctx->output_mode & AC3_OUTPUT_LFEON) &&

oops...that second add line should be:
ctx->nfchans + !!(ctx->output_mode & AC3_OUTPUT_LFEON),

-Justin




More information about the ffmpeg-devel mailing list