diff options
Diffstat (limited to 'libavcodec/wma.c')
-rw-r--r-- | libavcodec/wma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wma.c b/libavcodec/wma.c index 1ff18e8be3..7c8aa3070f 100644 --- a/libavcodec/wma.c +++ b/libavcodec/wma.c @@ -78,7 +78,7 @@ int ff_wma_init(AVCodecContext *avctx, int flags2) int coef_vlc_table; if ( avctx->sample_rate <= 0 || avctx->sample_rate > 50000 - || avctx->channels <= 0 || avctx->channels > 8 + || avctx->channels <= 0 || avctx->channels > 2 || avctx->bit_rate <= 0) return -1; |