diff options
Diffstat (limited to 'libavcodec/wmadec.c')
-rw-r--r-- | libavcodec/wmadec.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/wmadec.c b/libavcodec/wmadec.c index 2152c9fc65..fbf8dfe04d 100644 --- a/libavcodec/wmadec.c +++ b/libavcodec/wmadec.c @@ -109,11 +109,6 @@ static int wma_decode_init(AVCodecContext * avctx) } } - if(avctx->channels > MAX_CHANNELS){ - av_log(avctx, AV_LOG_ERROR, "Invalid number of channels (%d)\n", avctx->channels); - return -1; - } - if(ff_wma_init(avctx, flags2)<0) return -1; |