changeset 11901:829dadee50c8 libavcodec

aacsbr: Make dk signed. There is no point in it being unsigned.
author alexc
date Sun, 20 Jun 2010 23:03:32 +0000
parents 9ee7f1655fb5
children c883aa4aa616
files aacsbr.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/aacsbr.c	Sun Jun 20 22:13:43 2010 +0000
+++ b/aacsbr.c	Sun Jun 20 23:03:32 2010 +0000
@@ -379,8 +379,7 @@
     }
 
     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;