diff --git a/libavcodec/wma.c b/libavcodec/wma.c index 31a422ee27..0a34c1b00e 100644 --- a/libavcodec/wma.c +++ b/libavcodec/wma.c @@ -87,7 +87,7 @@ av_cold int ff_wma_init(AVCodecContext *avctx, int flags2) int coef_vlc_table; if (avctx->sample_rate > 50000 || - channels <= 0 || channels > 2 || + channels > 2 || avctx->bit_rate <= 0) return -1;