]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/aac_ac3_parser.c
Icc 11.1 still does not align the stack pointer, disable some x264 functions.
[ffmpeg] / libavcodec / aac_ac3_parser.c
index b51f1769f72fe8841dd545208749d1409dcc3170..85993c09b7675687b68d6a72215b0eadc89ccba9 100644 (file)
@@ -83,7 +83,7 @@ get_next:
             (avctx->codec_id == CODEC_ID_AC3 ||
              avctx->codec_id == CODEC_ID_EAC3)))) {
         avctx->channels = avctx->request_channels;
-    } else {
+    } else if (avctx->codec_id != CODEC_ID_AAC || s->channels) {
         avctx->channels = s->channels;
         avctx->channel_layout = s->channel_layout;
     }