mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fix handling of special case for lowest snroffset. regressions are unaffected.
Originally committed as revision 8450 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8a0cdea157
commit
b5a05cc295
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user