Author: superdump
Date: Mon Jun 23 12:53:42 2008
New Revision: 2557

Log:
Remove unneeded check as index can never be -1


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c   (original)
+++ aac/aac.c   Mon Jun 23 12:53:42 2008
@@ -1177,10 +1177,6 @@ static int decode_spectral_data(AACConte
                         const int coef_idx = (group << 7) + k;
                         const int8_t *vq_ptr = &codebook_vectors[cur_cb - 
1][index * dim];
                         int j;
-                        if (index == -1) {
-                            av_log(ac->avccontext, AV_LOG_ERROR, "Error in 
spectral data\n");
-                            return -1;
-                        }
                         for (j = 0; j < dim; j++)
                             icoef[coef_idx + j] = 1;
                         if (IS_CODEBOOK_UNSIGNED(cur_cb)) {
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to