On Thu, Oct 13, 2011 at 05:45:52PM -0400, Justin Ruggles wrote:
> ---
>  libavcodec/shorten.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c
> index 5ffd634..ec50fc1 100644
> --- a/libavcodec/shorten.c
> +++ b/libavcodec/shorten.c
> @@ -254,7 +254,7 @@ static int16_t * interleave_buffer(int16_t *samples, int 
> nchan, int blocksize, i
>      int i, chan;
>      for (i=0; i<blocksize; i++)
>          for (chan=0; chan < nchan; chan++)
> -            *samples++ = FFMIN(buffer[chan][i], 32768);
> +            *samples++ = av_clip_int16(buffer[chan][i]);
>      return samples;
>  }
>  
> -- 

That's something different - for int16 upper limit is 32767 but this makes
more sense, so OK
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to