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 8713242E67 for ; Thu, 13 Jan 2022 02:30:46 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D32A868B552; Thu, 13 Jan 2022 04:01:40 +0200 (EET) Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 329A168B50A for ; Thu, 13 Jan 2022 04:01:37 +0200 (EET) Received: by mail-qt1-f176.google.com with SMTP id v7so5325876qtw.13 for ; Wed, 12 Jan 2022 18:01: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=KpezVH0VtdwkxeNNzBtCxfkUn6/WqJI0/gQHF27H2Mo=; b=W3IbenwSYupJ7OanDqPsdqsT0KvH9Xug50kTa7L1CbPl3oMCJqNsKkUsahWJhTCfOD +RK7LDK60NUGbYfiTJ+yCR1hxHtadCxFbJxmGFRI4nsVTSs+ShAJUS/7Qs+YRzxaK5rf LekzO9WkDn2EeCEQrCOZGTf7QgM8L2Jd6R7wl5OuwZBXQ1DtHJPqU8hSMU1Pt1qGofOi NGlZSoU8de5gyNck0uiuVuuNZNfcYjX5E0NE2Ti2vhoXhZAfQkEMnKZpiMMN/OWzNnNR lczRRDqJ0Zg5nflPCLOu9rlVYaztPB7IUHk3p/dMAMlK9trkiI1OwZBfHd3+zvd8KCYj dbGw== 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=KpezVH0VtdwkxeNNzBtCxfkUn6/WqJI0/gQHF27H2Mo=; b=3XyW4Gv6GoY0LBMH8xQbv3TgKIBrJfWLA4IJ1hhQWzW1yyektxH64n1+49dip9d/xP eZJtwwm+hd9wdIseERb/hShGQ3TNGvrlVgIJ/ShBtbF2L39A4whidbZdCW03ffeMLjHj CDVGnO92mHB4HTy0+f7Ti9/ELisUwhlNK2lTM/GCraKVbgqW/sQ8IeDS88jdcGkBq0IZ +22zxi4vpBXTIDuFLZ8ARJfeonrLAx++l4ibTDfuBPER4dBr0E06TDjIxeQV8RTDCexN onGd2HTjpAcKKuClNWylzXMheVQ8fU0bN5VRphGWoRCSWm/PYux4M8s040B+AatECePZ CLJw== X-Gm-Message-State: AOAM532EVj4odBfFZtfluVIkRmOtGRND8HVaXBfhY9H1cmq4IsXwz/I7 mZUXe0QajGqlzqA6U5P2gDbKAV8BNJI= X-Google-Smtp-Source: ABdhPJznjIkMFXh+0ImSHo/Dmq1C1OphNVfxvQc0ZxTI3qrSyY7p0YLqhaKIZDKfoIYWNFtrUSAilA== X-Received: by 2002:ac8:1082:: with SMTP id a2mr2006738qtj.673.1642039295769; Wed, 12 Jan 2022 18:01:35 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id y17sm1182232qtj.75.2022.01.12.18.01.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 18:01:35 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 23:00:20 -0300 Message-Id: <20220113020026.590-25-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 173/281] xmv: 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/xmv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/xmv.c b/libavformat/xmv.c index ec21a4f853..fd0dedb637 100644 --- a/libavformat/xmv.c +++ b/libavformat/xmv.c @@ -332,7 +332,8 @@ static int xmv_process_packet_header(AVFormatContext *s) ast->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; ast->codecpar->codec_id = packet->codec_id; ast->codecpar->codec_tag = packet->compression; - ast->codecpar->channels = packet->channels; + ast->codecpar->ch_layout.order = AV_CHANNEL_ORDER_UNSPEC; + ast->codecpar->ch_layout.nb_channels = packet->channels; ast->codecpar->sample_rate = packet->sample_rate; ast->codecpar->bits_per_coded_sample = packet->bits_per_sample; ast->codecpar->bit_rate = packet->bit_rate; -- 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".