[FFmpeg-devel] [PATCH] qcelp: silence handling

Diego Biurrun diego
Thu Dec 18 09:36:17 CET 2008


On Wed, Dec 17, 2008 at 12:22:41PM -0800, Kenan Gillet wrote:
> 
> here is a set of patches that implements SILENCE
> bitrate for qcelp.
> 
> --- libavcodec/qcelpdec.c	(revision 16173)
> +++ libavcodec/qcelpdec.c	(working copy)
> @@ -536,7 +536,12 @@
> +            if (q->erasure_count < 3)
> +                max_pitch_gain = 0.9 - 0.3 * (q->erasure_count - 1);
> +             else

weird indentation

> --- ../../qcelp/trunk/libavcodec/qcelpdec.c	2008-12-17 09:24:55.000000000 -0800
> +++ libavcodec/qcelpdec.c	2008-12-17 09:53:51.000000000 -0800
> @@ -544,10 +544,10 @@ static void apply_pitch_filters(QCELPCon
>  
> +                if (q->erasure_count < 3)
> +                    max_pitch_gain = 0.9 - 0.3 * (q->erasure_count - 1);
> +                 else

ditto

Diego




More information about the ffmpeg-devel mailing list