Revision be1efe59 libavcodec/ac3enc.c

View differences:

libavcodec/ac3enc.c
667 667

  
668 668
    ac3_common_init();
669 669

  
670
    if (!avctx->channel_layout) {
671
        av_log(avctx, AV_LOG_WARNING, "No channel layout specified. The "
672
                                      "encoder will guess the layout, but it "
673
                                      "might be incorrect.\n");
674
    }
670 675
    if (set_channel_info(s, avctx->channels, &avctx->channel_layout)) {
671 676
        av_log(avctx, AV_LOG_ERROR, "invalid channel layout\n");
672 677
        return -1;

Also available in: Unified diff