projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edfa89b
)
ac3dsp: fix loop condition in ac3_update_bap_counts_c()
author
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 28 May 2011 18:40:16 +0000
(14:40 -0400)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 28 May 2011 18:41:21 +0000
(14:41 -0400)
libavcodec/ac3dsp.c
patch
|
blob
|
history
diff --git
a/libavcodec/ac3dsp.c
b/libavcodec/ac3dsp.c
index
de58f3a
..
8ce5f8d
100644
(file)
--- a/
libavcodec/ac3dsp.c
+++ b/
libavcodec/ac3dsp.c
@@
-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]]++;
}