Incorrect check removed.
authorBenjamin Larsson <banan@ludd.ltu.se>
Sat, 7 Jan 2006 23:38:17 +0000 (23:38 +0000)
committerBenjamin Larsson <banan@ludd.ltu.se>
Sat, 7 Jan 2006 23:38:17 +0000 (23:38 +0000)
Originally committed as revision 4823 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/cook.c

index 7cf76fa..7ebb951 100644 (file)
@@ -1277,10 +1277,6 @@ static int cook_decode_init(AVCodecContext *avctx)
         av_log(NULL,AV_LOG_ERROR,"total_subbands > 53, report sample!\n");
         return -1;
     }
-    if (((q->subbands > 34) || (q->js_subband_start > 19)) && (q->joint_stereo)) {
-        av_log(NULL,AV_LOG_ERROR,"subbands > 34 or js_subband_start > 19, report sample!\n");
-        return -1;
-    }
     if (q->subbands > 50) {
         av_log(NULL,AV_LOG_ERROR,"subbands > 50, report sample!\n");
         return -1;