This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
When calculating AAC quantized band cost, don't leave garbage in the bit count
for the 0 codebook. Originally committed as revision 19444 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Alex Converse
16 years ago
parent
ca0f1e5092
commit
a5762c9b59
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/aaccoder.c
+ 2
- 0
libavcodec/aaccoder.c
View File
@@ -124,6 +124,8 @@ static float quantize_band_cost(struct AACEncContext *s, const float *in,
if (!cb) {
for (i = 0; i < size; i++)
cost += in[i]*in[i]*lambda;
if (bits)
*bits = 0;
return cost;
}
#ifndef USE_REALLY_FULL_SEARCH
Write
Preview
Loading…
Cancel
Save