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 3BA8D42CA6 for ; Thu, 13 Jan 2022 01:56:16 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 81CD968AFF3; Thu, 13 Jan 2022 03:52:29 +0200 (EET) Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B9D3368AFE1 for ; Thu, 13 Jan 2022 03:52:27 +0200 (EET) Received: by mail-qv1-f44.google.com with SMTP id q4so5080771qvh.9 for ; Wed, 12 Jan 2022 17:52:27 -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=6I68AxTjJTy38HzIFT4OQoLLwWShiZmC3GqMIRKEDHw=; b=EfeXzTp+JA2MphO2V4D7LAtcwGeWe7TyoJ1OZBHX+JfBKxJukjwbJ8IhHfv6K06EcE +cOhdpaeslIqPzVdjGqVF97kCQN+JlSS5Bq5LhQTnCzS1itYi5D3gx7jFrtMOsDMDahc H9GNM60caO05frTo8yKM4BpFNFKLxMf8rtNXEa8n556196p8jXKVG8FMI3JRMgjMFvDT N5fc3JDNYkrlwlTLTRC+PFvLtdfzpTDXhgUxOJa/ZoUEDeIQArs2pbh4SBqFoTqraDeI R35gV1/Hk9UZ1hRID9fwjp8BuG6Xa4PDmWla/JSDLCYyHfodmDgFelG2xHE+tI2qEfZR W6CQ== 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=6I68AxTjJTy38HzIFT4OQoLLwWShiZmC3GqMIRKEDHw=; b=o4HvHbC+tVgiBVBDsxOP02BKmYrrXOyqWi1sHWx2LPnVtgYXytpzIUSM8IUbNQkPg1 q3GiWF2/mek3OfEgMt/eT44W3oAcJdf3I4HK+cbGwsZQ7gYyHSv71spk23r8INOYKsY+ chd12xn+6q3YoD27nlS8sQaqrJUU96YAe0oBR6OH5SVk6eLjGcppfWTMybRb089OHprZ q7C1osGvND3GYBEtzvTLhIPcKqc75aFTLxJYKDad37NVjB4EYhYgCJkBGYaQGb9vH2NT 8tRHJODqaOu4Fip0jpX7BJfgV54HUVDQjeQi1k+VcLG5d+w+NPGk5QfIJd8SsI4HHFbY mWNQ== X-Gm-Message-State: AOAM531SOtRZ0zXaKtVJKysSC9WJjEzVBXKX9zFokwUPaG1XmaxJnPuZ xfs2RRrVp2+fIluAxiGM80V1InsJJn4= X-Google-Smtp-Source: ABdhPJzWR/zVECwBBPmippe6pud9l86hc5h09Uv4wzrnmSqnIsSg/W11EXq6XRTKLGCJPQQiKoFIRA== X-Received: by 2002:ad4:5aac:: with SMTP id u12mr2186000qvg.8.1642038746397; Wed, 12 Jan 2022 17:52:26 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id i21sm1204710qti.31.2022.01.12.17.52.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:52:26 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:49:44 -0300 Message-Id: <20220113015101.4-23-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 022/281] aixdec: 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/aixdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/aixdec.c b/libavformat/aixdec.c index 59c3d60da3..a1ee370a6d 100644 --- a/libavformat/aixdec.c +++ b/libavformat/aixdec.c @@ -64,7 +64,8 @@ static int aix_read_header(AVFormatContext *s) st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; st->codecpar->codec_id = AV_CODEC_ID_ADPCM_ADX; st->codecpar->sample_rate = avio_rb32(s->pb); - st->codecpar->channels = avio_r8(s->pb); + st->codecpar->ch_layout.order = AV_CHANNEL_ORDER_UNSPEC; + st->codecpar->ch_layout.nb_channels = avio_r8(s->pb); avpriv_set_pts_info(st, 64, 1, st->codecpar->sample_rate); avio_skip(s->pb, 3); } -- 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".