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 D05AD42D6E for ; Thu, 13 Jan 2022 02:17:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9AF0E68B31F; Thu, 13 Jan 2022 03:57:04 +0200 (EET) Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 04C9A68B315 for ; Thu, 13 Jan 2022 03:57:02 +0200 (EET) Received: by mail-qt1-f178.google.com with SMTP id v7so5315167qtw.13 for ; Wed, 12 Jan 2022 17:57:02 -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=iqcgkDrWvz06FyUjR1CMHeXPgqDBuOY2oT8pKFS95gQ=; b=DwZmaMEPwIof5h2d7P55+mMz9M9ot18PYpgks6Y582g845eiBj2/81KAcNrBtve0GZ 8L0ckLcLiCZe1USwVUb69VLArOeNMYaAxGyAEXSum2kqSmWZiQO/Qky3dl+3c7xgPGvF UCHagOVo7fZBdMBZnAyWH+FXwDq6PwZwcs+vKDQEghAGgRd7zOKsX1JER/KrMVGQ0HQx mWiUL5EwtEgXlTspE43JeqWDmMuKiYOAK7cWUlgCEnequr7NN5faZFJVPHXknQryOHK+ umiQ25Jb0OQSkKRw/I06X5c5Ik0Aj/qjsdcMg/S/qt93jcmetgTuwtCR46hsYVjOGbQL N2LA== 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=iqcgkDrWvz06FyUjR1CMHeXPgqDBuOY2oT8pKFS95gQ=; b=OrsW6oQ572flgZGB+0XYobgBBDceIq+zYRxiGu8ZKvfM2MrohnQXOspCc0OsHdBYAS R593EphZ6Bugals/hY4KpK8U+CA0rLqn6R6OgHF0tS67BD0ZZu+4d0v04ZMGdtFbdVMN uaE/yCHRmftLug1Kuza84LXsDH7XgRBgfklD4t3ljtyC8sFMyYL0LBo+CCMHBjIw6tFi 8YYCP2MGLhvybcfQG2KzfHiR2RkJw8LKP9n0TTHl+SYk6t/paCPIMUPR2AE2xluDHSU9 pqXXayyIc2290G5Acsoepg7vxWYF5wQLiXqCk1brSSorUm3c85tE60up5V54HuvL9Egf 0gmg== X-Gm-Message-State: AOAM530uohMFZqRXh/7nYYSol5jkYGIOsFaL6OEDOs5YB2ytwyTXLQd7 WEKazW6RuQgTXaaCKhPS1OWCfm4jqFU= X-Google-Smtp-Source: ABdhPJyQ0CXgf2w+4RFMEwQEu9GykduwrWPtmpU+KpGtJvleAd6FIDzRYtv5C8B5v5SoXu1T/bWw6Q== X-Received: by 2002:a05:622a:18a0:: with SMTP id v32mr1929098qtc.681.1642039021533; Wed, 12 Jan 2022 17:57:01 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id t11sm906506qkm.77.2022.01.12.17.57.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:57:01 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:56:12 -0300 Message-Id: <20220113015612.448-31-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 119/281] paf: 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/paf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/paf.c b/libavformat/paf.c index 140e0567e1..d48cf57645 100644 --- a/libavformat/paf.c +++ b/libavformat/paf.c @@ -127,8 +127,7 @@ static int read_header(AVFormatContext *s) ast->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; ast->codecpar->codec_tag = 0; ast->codecpar->codec_id = AV_CODEC_ID_PAF_AUDIO; - ast->codecpar->channels = 2; - ast->codecpar->channel_layout = AV_CH_LAYOUT_STEREO; + ast->codecpar->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO; ast->codecpar->sample_rate = 22050; avpriv_set_pts_info(ast, 64, 1, 22050); -- 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".