diff options
author | Alex Converse | 2010-06-20 23:03:32 +0000 |
---|---|---|
committer | Alex Converse | 2010-06-20 23:03:32 +0000 |
commit | cf3b4d9a784982fbd861093c48fe8e924bf88f1e (patch) | |
tree | f5f974a2c6029ccf0d47f2f9217d42424c9cb96a /libavcodec/aacsbr.c | |
parent | e90e1f558a194ef75e396ac9ae5128be03e66362 (diff) |
aacsbr: Make dk signed. There is no point in it being unsigned.
Originally committed as revision 23671 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aacsbr.c')
-rw-r--r-- | libavcodec/aacsbr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/aacsbr.c b/libavcodec/aacsbr.c index 94707c9966..b0bf219293 100644 --- 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; |