Browse Source

ac3dsp: fix loop condition in ac3_update_bap_counts_c()

tags/n0.8
Justin Ruggles 14 years ago
parent
commit
dc0ad40de2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/ac3dsp.c

+ 1
- 1
libavcodec/ac3dsp.c View File

@@ -131,7 +131,7 @@ static void ac3_bit_alloc_calc_bap_c(int16_t *mask, int16_t *psd,
static void ac3_update_bap_counts_c(uint16_t mant_cnt[16], uint8_t *bap,
int len)
{
while (len-- >= 0)
while (len-- > 0)
mant_cnt[bap[len]]++;
}



Loading…
Cancel
Save