]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/wma.c
alacdec: fix packed sample output with 5.1
[ffmpeg] / libavcodec / wma.c
index 1ff18e8be3623c57eb9e90d802080a9e69d93e39..7c8aa3070fc41e07261e531c00d54cfa7e0ca7d0 100644 (file)
@@ -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;