From 3ba4597ce2e0d21772dd3d840f97a848e3d47284 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sat, 11 Oct 2014 00:11:11 +0200 Subject: [PATCH] transcoding: fix another gcc warning --- src/plumbing/transcoding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plumbing/transcoding.c b/src/plumbing/transcoding.c index 8ecddac4..821aec46 100644 --- a/src/plumbing/transcoding.c +++ b/src/plumbing/transcoding.c @@ -668,7 +668,7 @@ transcoder_stream_audio(transcoder_stream_t *ts, th_pkt_t *pkt) if (octx->channel_layout == 0) { if (acount > 0) { // find next which has same or less channels than decoder. - tvhlog(LOG_DEBUG, "transcode", "Did not find matching channel_layout for encoder. Will use last supported: %zu with %d channels", ocodec->channel_layouts[maxacount], maxchannels); + tvhlog(LOG_DEBUG, "transcode", "Did not find matching channel_layout for encoder. Will use last supported: %i with %d channels", (int)ocodec->channel_layouts[maxacount], maxchannels); octx->channel_layout = ocodec->channel_layouts[maxacount]; octx->channels = maxchannels; }