[FFmpeg-cvslog] r23184 - in branches/0.6: . libavcodec/aaccoder.c
siretart
subversion
Wed May 19 13:39:03 CEST 2010
Author: siretart
Date: Wed May 19 13:39:02 2010
New Revision: 23184
Log:
10l: store the result of clipping added in r23035
backport r23037 by alexc
Modified:
branches/0.6/ (props changed)
branches/0.6/libavcodec/aaccoder.c
Modified: branches/0.6/libavcodec/aaccoder.c
==============================================================================
--- branches/0.6/libavcodec/aaccoder.c Wed May 19 13:38:30 2010 (r23183)
+++ branches/0.6/libavcodec/aaccoder.c Wed May 19 13:39:02 2010 (r23184)
@@ -804,7 +804,7 @@ static void search_for_quantizers_faac(A
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);
More information about the ffmpeg-cvslog
mailing list