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 0933242F7B for ; Thu, 13 Jan 2022 02:46:20 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B521768B991; Thu, 13 Jan 2022 04:07:41 +0200 (EET) Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3ECE168B979 for ; Thu, 13 Jan 2022 04:07:37 +0200 (EET) Received: by mail-qk1-f169.google.com with SMTP id z10so1236671qkf.7 for ; Wed, 12 Jan 2022 18:07:37 -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=8O5rdyRRZ0WhGmCdZtCXqRsjk2vG2hHQVLb8F9WG/gk=; b=pCazKQl0tNXRInAkSVpsT48e0nmPGJcBhfTiCotLsHnZ/73+z9cA0Cz+quR+rv0XOC 0/fq0ujLfT94/siOKWNyIyi9ZeHDn+jfb7FNzI/s/9UueSG5f9xfYMG063gpMig0bZUn QS9zbr3iApX6r+c8SmYOj6hbfbDR9mXICMUqOouPmhuy9PxRIJIqTY3ks88hUlTl4XI1 ufRV7cfJ3DoIVVBxnAQYY3+Qt2Sy9UPsyTxhbrUNKMl2tSFDbSCXxqNIx/h/8AXSkM4k hiWdnmURL38sqjudfKMND3kCsoQvH01nZKFTKHu0o1O+PfgHCKhVZ3LI8NXVnFpL87xi Zzdg== 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=8O5rdyRRZ0WhGmCdZtCXqRsjk2vG2hHQVLb8F9WG/gk=; b=dJQzZzd9kAaOICWi+gUqUGKaONF/pMi0PqsoOlCwjUgIgUCZRhAhHG9vcvGErrO09h AlYBDXQQQxUna1GVY78fjfJAeIK4etjvJw9ZNsad8QlHxQTQzXYUi7rUKjEzTRpBp6Y4 Xm18dZAmGM2K4fJ1BoA7zCi5jeqgs32ZKVPe+YqC5z+xJNJuqaDtNsAXy0ME4481YiKI pEfhyDaTIYZo5/yxSglzIUM8/3HRgm6TWpW6Z2uto3BBORJzf6YCwvfphqhApiKD/WT5 /nuREXdKZUeqxuoFonHFXVzah9tRt4kAxeaLOeEtrud2Av2bAVO68AOrlq1RQy4pMS7W sF8Q== X-Gm-Message-State: AOAM530zFu3WT0k0OOO8KaitgSHOMDpE7h9VYhY6z8PFhUxOnsdYb6ff xT7pmpBN71A/+pZJhRvzC/CR1J/3080= X-Google-Smtp-Source: ABdhPJw177lNcSYBNFmpbuIDqjog+GbpuxkuVQrUhoJRqqOWzZsBEVWselyKrwn6aSU6lcS6LKYhIA== X-Received: by 2002:a05:620a:15af:: with SMTP id f15mr1839832qkk.18.1642039655830; Wed, 12 Jan 2022 18:07:35 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id a16sm1085946qta.13.2022.01.12.18.07.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 18:07:35 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 23:06:51 -0300 Message-Id: <20220113020713.801-8-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 247/281] qcelpdec: 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: Anton Khirnov Signed-off-by: Vittorio Giovara Signed-off-by: James Almer --- libavcodec/qcelpdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c index b23013816b..9f3ef309db 100644 --- a/libavcodec/qcelpdec.c +++ b/libavcodec/qcelpdec.c @@ -87,8 +87,8 @@ static av_cold int qcelp_decode_init(AVCodecContext *avctx) QCELPContext *q = avctx->priv_data; int i; - avctx->channels = 1; - avctx->channel_layout = AV_CH_LAYOUT_MONO; + av_channel_layout_uninit(&avctx->ch_layout); + avctx->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO; avctx->sample_fmt = AV_SAMPLE_FMT_FLT; for (i = 0; i < 10; i++) -- 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".