OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e90e1f5
)
aacsbr: Make dk signed. There is no point in it being unsigned.
author
Alex Converse
<alex.converse@gmail.com>
Sun, 20 Jun 2010 23:03:32 +0000
(23:03 +0000)
committer
Alex Converse
<alex.converse@gmail.com>
Sun, 20 Jun 2010 23:03:32 +0000
(23:03 +0000)
Originally committed as revision 23671 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aacsbr.c
patch
|
blob
|
history
diff --git
a/libavcodec/aacsbr.c
b/libavcodec/aacsbr.c
index
94707c9
..
b0bf219
100644
(file)
--- a/
libavcodec/aacsbr.c
+++ b/
libavcodec/aacsbr.c
@@
-379,8
+379,7
@@
static int sbr_make_f_master(AACContext *ac, SpectralBandReplication *sbr,
}
if (!spectrum->bs_freq_scale) {
- unsigned int dk;
- int k2diff;
+ int dk, k2diff;
dk = spectrum->bs_alter_scale + 1;
sbr->n_master = ((sbr->k[2] - sbr->k[0] + (dk&2)) >> dk) << 1;