diff options
author | Alex Converse <alex.converse@gmail.com> | 2010-05-07 00:38:42 +0400 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2010-05-07 00:38:42 +0400 |
commit | 46174079c9c1e83048b278b3790cccddcacb2325 (patch) | |
tree | 0a8de7d0ba5c408416e89315db0314f09ba92437 /libavcodec/aaccoder.c | |
parent | 217b44ddc3d5919f943a60f729886494b5fad692 (diff) |
10l: store the result of clipping added in r23035
Originally committed as revision 23037 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aaccoder.c')
-rw-r--r-- | libavcodec/aaccoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c index d30f854b98..0957469957 100644 --- a/libavcodec/aaccoder.c +++ b/libavcodec/aaccoder.c @@ -804,7 +804,7 @@ static void search_for_quantizers_faac(AVCodecContext *avctx, AACEncContext *s, if (dist > uplim[w*16+g]) step = -step; scf += step; - av_clip_uint8(scf); + scf = av_clip_uint8(scf); step = scf - prev_scf; if (FFABS(step) <= 1 || (step > 0 && scf >= max_scf) || (step < 0 && scf <= min_scf)) { sce->sf_idx[w*16+g] = av_clip(scf, min_scf, max_scf); |