]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/flacdec.c
dsputil: Drop unused functions copy_block{2|4|16}
[ffmpeg] / libavcodec / flacdec.c
index 51fd19628cf89ebb99c34ff6228e5164044ab757..f273d145cb82818f79b3f75f4d17c52946e6b81e 100644 (file)
@@ -426,7 +426,7 @@ static int decode_frame(FLACContext *s)
             return ret;
     }
     s->channels = s->avctx->channels = fi.channels;
-    if (!s->avctx->channel_layout && s->channels <= 6)
+    if (!s->avctx->channel_layout)
         ff_flac_set_channel_layout(s->avctx);
     s->ch_mode = fi.ch_mode;