Commit 51bb91cb authored by Benjamin Larsson's avatar Benjamin Larsson

Incorrect check removed.

Originally committed as revision 4823 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cc59080c
...@@ -1277,10 +1277,6 @@ static int cook_decode_init(AVCodecContext *avctx) ...@@ -1277,10 +1277,6 @@ static int cook_decode_init(AVCodecContext *avctx)
av_log(NULL,AV_LOG_ERROR,"total_subbands > 53, report sample!\n"); av_log(NULL,AV_LOG_ERROR,"total_subbands > 53, report sample!\n");
return -1; 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) { if (q->subbands > 50) {
av_log(NULL,AV_LOG_ERROR,"subbands > 50, report sample!\n"); av_log(NULL,AV_LOG_ERROR,"subbands > 50, report sample!\n");
return -1; return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment