summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2010-05-19 11:39:02 +0000
committerReinhard Tartler <siretart@tauware.de>2010-05-19 11:39:02 +0000
commit8ab1409a59fcb972ba1476312d8d3c5bc788323e (patch)
tree868042f9c54d803aa143ddb7d4f0d9bc675ef95b
parent3589ac6334c1281a9b2bee10ea8e549a5bc29cb5 (diff)
10l: store the result of clipping added in r23035
backport r23037 by alexc Originally committed as revision 23184 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6
-rw-r--r--libavcodec/aaccoder.c2
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);