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:
a872e5c
)
Cosmetics, indentation.
author
Benjamin Larsson
<banan@ludd.ltu.se>
Mon, 21 Sep 2009 20:53:29 +0000
(20:53 +0000)
committer
Benjamin Larsson
<banan@ludd.ltu.se>
Mon, 21 Sep 2009 20:53:29 +0000
(20:53 +0000)
Originally committed as revision 19953 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/atrac1.c
patch
|
blob
|
history
diff --git
a/libavcodec/atrac1.c
b/libavcodec/atrac1.c
index
00b01a5
..
c3f8cc0
100644
(file)
--- a/
libavcodec/atrac1.c
+++ b/
libavcodec/atrac1.c
@@
-226,7
+226,7
@@
static int at1_unpack_dequant(GetBitContext* gb, AT1SUCtx* su,
int num_specs = specs_per_bfu[bfu_num];
int word_len = !!idwls[bfu_num] + idwls[bfu_num];
float scale_factor = sf_table[idsfs[bfu_num]];
- bits_used
+= word_len * num_specs; /* add number of bits consumed by current BFU */
+ bits_used += word_len * num_specs; /* add number of bits consumed by current BFU */
/* check for bitstream overflow */
if (bits_used > AT1_SU_MAX_BITS)