[FFmpeg-soc] [soc]: r784 - qcelp/qcelpdec.c

Reynaldo Verdejo rverdejo at gmail.com
Tue Aug 14 18:54:04 CEST 2007


Disregard this, has an error corrected in the next commit.

On 8/14/07, reynaldo <subversion at mplayerhq.hu> wrote:
>
> Author: reynaldo
> Date: Tue Aug 14 18:52:15 2007
> New Revision: 784
>
> Log:
> Fix error at clip boundary spoted by Aurelien Jacobs
>
> Modified:
>    qcelp/qcelpdec.c
>
> Modified: qcelp/qcelpdec.c
>
> ==============================================================================
> --- qcelp/qcelpdec.c    (original)
> +++ qcelp/qcelpdec.c    Tue Aug 14 18:52:15 2007
> @@ -865,7 +865,7 @@ static int qcelp_decode_frame(AVCodecCon
>          /* WIP adaptive postfilter here */
>
>          /* output stage */
> -        outbuffer[i]=av_clip(lrintf(4*ppf_vector[i]), -32768, 32768);
> +        outbuffer[i]=av_clip_int16(lrintf(4*ppf_vector[i]), -32768,
> 32767);
>          av_log(avctx, AV_LOG_DEBUG, "%d", outbuffer[i]);
>      }
>      av_log(avctx, AV_LOG_DEBUG, "\n");
> _______________________________________________
> FFmpeg-soc mailing list
> FFmpeg-soc at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20070814/0bd8f618/attachment.htm>


More information about the FFmpeg-soc mailing list