OSDN Git Service

aacsbr: Remove a slightly incorrect comment.
authorAlex Converse <alex.converse@gmail.com>
Tue, 9 Mar 2010 11:13:45 +0000 (11:13 +0000)
committerAlex Converse <alex.converse@gmail.com>
Tue, 9 Mar 2010 11:13:45 +0000 (11:13 +0000)
The two conditions are equivalent.

Originally committed as revision 22386 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/aacsbr.c

index 390d724..76fcae8 100644 (file)
@@ -735,7 +735,7 @@ static int read_sbr_grid(AACContext *ac, SpectralBandReplication *sbr,
     ch_data->bs_num_noise = (ch_data->bs_num_env[1] > 1) + 1;
 
     ch_data->t_q[0] = ch_data->t_env[0];
-    if (ch_data->bs_num_noise > 1) { // typo in spec bases this on bs_num_env...
+    if (ch_data->bs_num_noise > 1) {
         unsigned int idx;
         if (ch_data->bs_frame_class == FIXFIX) {
             idx = ch_data->bs_num_env[1] >> 1;