[FFmpeg-soc] [soc]: r2421 - aac/aac.c

superdump subversion at mplayerhq.hu
Tue Jun 10 14:22:04 CEST 2008


Author: superdump
Date: Tue Jun 10 14:22:03 2008
New Revision: 2421

Log:
10l - bug spotted by Kostya


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Tue Jun 10 14:22:03 2008
@@ -1239,7 +1239,8 @@ static int decode_spectral_data(AACConte
                                         return -1;
                                     }
                                     icoef[coef_idx + j] *= (1<<n) + get_bits(gb, n);
-                                }
+                                }else
+                                    icoef[coef_idx + j] *= ptr[j];
                             }
                         }else
                             for (j = 0; j < dim; j++)



More information about the FFmpeg-soc mailing list