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 34B4942C84 for ; Thu, 13 Jan 2022 01:55:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8AD3B68AFAA; Thu, 13 Jan 2022 03:52:21 +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 517AE68AEC8 for ; Thu, 13 Jan 2022 03:52:18 +0200 (EET) Received: by mail-qk1-f169.google.com with SMTP id e25so5525494qkl.12 for ; Wed, 12 Jan 2022 17:52:17 -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=Sp6R3jWRZ+GTCaUv2kvQgm4ICmaV9Pd59tyxYkAaqE4=; b=RQQaOQp5BHNUkVvPpuv8Ve320DmRFqKT5L6bWRhSCXtB72nQxbzgJ76l9dimGTw0Ww 5p60x0MEAVahAHE//F/9ysqlrcRHr4uL6U4jQ7WtW6FNiHa3NT8KIZg7yAGh9taDYAKm 6pjsRzZT6N0H+QudVX2NMTrguFWOJpaP8PgOJsjZUX0pTnTAr5AbP412pu8xrYikpBAG jJRkjBMxBDwpCXdynCSST0plnn8kvuMLXx8oRyA8T4OPTSpEWrA79wUU/1slJoACutoB SxeQV7DjVN7QhP3YvQJZPDKZM4vAK17uq5sdK6GgviAaSU4r+YNIe/3JjzXjnZRGk1wh Ercg== 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=Sp6R3jWRZ+GTCaUv2kvQgm4ICmaV9Pd59tyxYkAaqE4=; b=ZZB5nhpGST2507MFDjHqBL4vU+GMJYe0AfEIxAR0UPV32ATbPDVrB0DZwfQg2RSCFo 74EO1+OS/4kmqBKN/qDU6gFJRkPLcI7XAoU1XcE1PLs2dyh0dJkjUCUZW2wU8XZbXK0y 1S2F0Z9W0Ydzv936FWgFqwMKxUnJQXiKnvc/0sN7TSU59hYP2RM5U9jGc7cWeGD/M3CR As2OB01Uq5+R3APK/LB3RorwMeI2ddKqnZIFL8jXa+eUGI9cEYI2VrB+vI0R0qlfeMNA Nv00niSfLk1Fje1kRzI7UCo2SKvBTniBTxW/6qy1wNPuX7iFmSyb8Nu2+hWhogr0ONbF GAfw== X-Gm-Message-State: AOAM530m1goUQPyxs74zYeGm8bUg4ds3mvobtd8GRgtHjqWgkywvaLEW GmCUopxr3PX5pJ56D0pIooUdHbjXFsQ= X-Google-Smtp-Source: ABdhPJyq9dNiqrFxO93iIlaLajhRgwTNLIJF9CaEE1TvIJVxnJ3o7OjluAA/dEwiqVsJfcMbwE/4WA== X-Received: by 2002:a05:620a:4493:: with SMTP id x19mr1850941qkp.461.1642038736531; Wed, 12 Jan 2022 17:52:16 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id i21sm1204710qti.31.2022.01.12.17.52.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:52:16 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:49:37 -0300 Message-Id: <20220113015101.4-16-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 015/281] act: 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: James Almer --- libavformat/act.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/act.c b/libavformat/act.c index a369157647..49639acfcc 100644 --- a/libavformat/act.c +++ b/libavformat/act.c @@ -88,7 +88,8 @@ static int read_header(AVFormatContext *s) } st->codecpar->frame_size=80; - st->codecpar->channels=1; + st->codecpar->ch_layout.order = AV_CHANNEL_ORDER_UNSPEC; + st->codecpar->ch_layout.nb_channels = 1; avpriv_set_pts_info(st, 64, 1, 100); st->codecpar->codec_id=AV_CODEC_ID_G729; -- 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".