From 21584fa1fff12f415f83d6c167026d9caf84a25e Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Mon, 30 Dec 2013 23:47:41 +0100 Subject: [PATCH] Minor adjustment of log message in transcode.c --- src/transcode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/transcode.c b/src/transcode.c index 9d366a7a..1530c3c4 100644 --- a/src/transcode.c +++ b/src/transcode.c @@ -477,9 +477,9 @@ transcode_setup(struct media_file_info *mfi, off_t *est_size, int wavhdr) { if (!ctx->acodec->channel_layout) { - ctx->acodec->channel_layout = av_get_default_channel_layout(ctx->acodec->channels); - DPRINTF(E_DBG, L_XCODE, "Resample requires channel_layout, but none from ffmpeg. Setting to default.\n"); + + ctx->acodec->channel_layout = av_get_default_channel_layout(ctx->acodec->channels); } DPRINTF(E_DBG, L_XCODE, "Will resample, decoded stream is: %s, %d channels (layout %" PRIu64 "), %d Hz\n",