OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
911fbc4
)
aacenc: Remove an unnecessary division from the TLS.
author
Alex Converse
<alex.converse@gmail.com>
Fri, 28 May 2010 21:29:56 +0000
(21:29 +0000)
committer
Alex Converse
<alex.converse@gmail.com>
Fri, 28 May 2010 21:29:56 +0000
(21:29 +0000)
Originally committed as revision 23368 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aaccoder.c
patch
|
blob
|
history
diff --git
a/libavcodec/aaccoder.c
b/libavcodec/aaccoder.c
index
1af09d4
..
f3193cd
100644
(file)
--- a/
libavcodec/aaccoder.c
+++ b/
libavcodec/aaccoder.c
@@
-712,12
+712,12
@@
static void search_for_quantizers_twoloop(AVCodecContext *avctx,
sce->ics.swb_sizes[g],
sce->sf_idx[w*16+g],
cb,
-
lambda
,
+
1.0f
,
INFINITY,
&b);
bits += b;
}
- dists[w*16+g] =
(dist - bits) / lambda
;
+ dists[w*16+g] =
dist - bits
;
if (prev != -1) {
bits += ff_aac_scalefactor_bits[sce->sf_idx[w*16+g] - prev + SCALE_DIFF_ZERO];
}