From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id F2F3042DFE for ; Thu, 13 Jan 2022 02:19:51 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DCF0668B375; Thu, 13 Jan 2022 03:58:44 +0200 (EET) Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9861268B34E for ; Thu, 13 Jan 2022 03:58:34 +0200 (EET) Received: by mail-qk1-f176.google.com with SMTP id j85so5601766qke.2 for ; Wed, 12 Jan 2022 17:58:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=F47DyIOUwJV/30w8oOOBPmoAHbLBmTUSTtSfwCwFxB8=; b=qRGIRuc0Bs49AbiC+lQ5RRP2OUjNfLedN31NmJy70uG46OLYlV/Xe+wMmai93hD36Z wJp/J1CZNtDfgtWEgd5CvNBD9cG11RPZKQOxT6McPCJTzH3fyJtvvqcr4N/FSCVk+7+h aotvPaxnBv98c+Wh3qO70h7eLgPYPYCqo8HUD0i55kFWAWgYPhnPjBXAS7/M/pQ+KKf1 /xThDntyBNS+A+fs21oN6OJ3zOi+bMXZT1h7nsmHm6N40sEy5K5Q1U5chbPuekh4bmbA 1agi3gLZidsOsKowNPX579yVEvFY0M63IVgtOh9hMYNLGPuAgH5nFiNuJBeqet6BZFNK WBIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=F47DyIOUwJV/30w8oOOBPmoAHbLBmTUSTtSfwCwFxB8=; b=aGjnIPcqsofT4KucvZWlj8dx3XiiRuh368CWUeWQd74uqhUsIbjv4G+V1ieAQ2qsVV OaHdwdpcMDk8XG5ANXPgpaWloy3LMXcaLw9FXhfF9zePw9MoeVIsy8ul0sMq3b8AgEOz DntTeZmNSw8dvxqWR2XxSDodH5lp+M/kEMeTjRhcKdTwgECaKpaQCDnnux2CrcNvlYkI mSmeJdAhP93dYGirehEWlJhL5tzHoOnojJznMrr29dykHfFE224fGv4NEIKzRFiD9QeB GWJqbh5Tnazg4Cv71BeWb3UUuWCtVoujwSF5DeX9shT7xmcC01gn0glzaXVhv6n1N4+U 0EvQ== X-Gm-Message-State: AOAM5333zq/YF0ZTJUKSqGwl0bazzDs6Et86BnPSFSWngomVmOlWNBQQ 4vb0r7SOwZ/EKUDGEOOPuWweIW6Yuwg= X-Google-Smtp-Source: ABdhPJz/oVf4cM6pDQcpGTFwxfUrT4PPjDKlP+k8mzswe/ciGcVwr6ee6QPgmcsz7lu6gDrPJW2SjQ== X-Received: by 2002:a05:620a:1982:: with SMTP id bm2mr1909240qkb.544.1642039113252; Wed, 12 Jan 2022 17:58:33 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id u19sm893081qke.1.2022.01.12.17.58.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:58:32 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:57:42 -0300 Message-Id: <20220113015806.519-7-jamrial@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220113015101.4-1-jamrial@gmail.com> References: <20220113015101.4-1-jamrial@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 125/281] qcp: convert to new channel layout API X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: From: Vittorio Giovara Signed-off-by: Vittorio Giovara Signed-off-by: James Almer --- libavformat/qcp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/qcp.c b/libavformat/qcp.c index 7e0d9b9b8c..8d80b726a5 100644 --- a/libavformat/qcp.c +++ b/libavformat/qcp.c @@ -103,8 +103,7 @@ static int qcp_read_header(AVFormatContext *s) avio_skip(pb, 4 + 8 + 4 + 1 + 1); // filesize + "QLCMfmt " + chunk-size + major-version + minor-version st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; - st->codecpar->channels = 1; - st->codecpar->channel_layout = AV_CH_LAYOUT_MONO; + st->codecpar->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO; avio_read(pb, buf, 16); if (is_qcelp_13k_guid(buf)) { st->codecpar->codec_id = AV_CODEC_ID_QCELP; -- 2.34.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".