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
fix handling of special case for lowest snroffset. regressions are unaffected.
Originally committed as revision 8450 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Justin Ruggles
18 years ago
parent
8a0cdea157
commit
b5a05cc295
1 changed files
with
6 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
libavcodec/ac3.c
+ 6
- 0
libavcodec/ac3.c
View File
@@ -175,6 +175,12 @@ void ff_ac3_bit_alloc_calc_bap(int16_t *mask, int16_t *psd, int start, int end,
{
{
int i, j, k, end1, v, address;
int i, j, k, end1, v, address;
/* special case, if snroffset is -960, set all bap's to zero */
if(snroffset == -960) {
memset(bap, 0, 256);
return;
}
i = start;
i = start;
j = masktab[start];
j = masktab[start];
do {
do {
Write
Preview
Loading…
Cancel
Save