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 5BF2242E6C for ; Thu, 13 Jan 2022 02:28:22 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AE42768B4DD; Thu, 13 Jan 2022 04:01:25 +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 5CFDA68B4B5 for ; Thu, 13 Jan 2022 04:01:22 +0200 (EET) Received: by mail-qv1-f44.google.com with SMTP id p12so5099913qvj.6 for ; Wed, 12 Jan 2022 18:01:22 -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=UbBMYixZzyImY/mSEGFZPpkx95P86OThIWOsMy+wZxw=; b=k6UIb2i5p3RxBUJ5tkRMg4C3vGB8VwHfArT5kqfo3FgwZM/p18GUliPxVjwxdmQGiJ lBaV3M2ytyyHI9NVoGj+VyUC9edzTpaKzND0sbchA9MvbMTCEChVyOs2zD/8bPGBfTKy eDfPIfTL9cxuVqEsnutZN7kHJSrEurUkmBCAk4IcqhRWoDlaXVwqq1cA3pDBI89mxNBM a1rNcZI+PX0orJ+m9l4N8im/oZnLSGMGTNjE5PB0fqlcnh/h6sb516tF1BWBot+6WKLE hA5fvEGSMpfihAYVBLf9lk1+NE10oeE2jFEM3MB7cJ3UrOjvg2t3DRbw0dCRfGYJ9+Ay HZLg== 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=UbBMYixZzyImY/mSEGFZPpkx95P86OThIWOsMy+wZxw=; b=xGWwcvb7A+smxP0piVUJDKRlYGXbbxnP189W65ec0eZH1oczMvqQxNIt0FI0bK8OvA fJe+p9/IMWgLggofG8CGRsZvqlss1B+Q//vvn3gOScHzyrzzOAWSLuEmImeOukRyDubJ fPTSIYNjDIC34pcNcw5Vtg1CU5pIyLSQSchSXKd5dEWaPNpBOnJFbueKj4zsigrXm3Eo QZ4chgo5LHH6YSP/9l3dIzQumw1rOuj/8taUgQWnOr0QN239/bvTOLu9WAJh6M/BIU4r QZIoIGscyRBFgcza1546Ht7orEHL8wl3oOnw8C9wuarNZHaxcyeXE9SXBYBFEE8XDTiI JmJA== X-Gm-Message-State: AOAM531MZGREi57ZQjUdswR1UzLB2JdiG6jQrJvgsXmg2As2R0OMGLCK OMqcMpeqva3GivqF7usZt5y+P68jhNw= X-Google-Smtp-Source: ABdhPJwc9Bvqhv7dcIwOEzglxmHMIq5u8iJzj9E/8807LpdYLh1l55rOzsruOYkhmDpxlrePAlTkmw== X-Received: by 2002:a05:6214:1c45:: with SMTP id if5mr2378381qvb.100.1642039280725; Wed, 12 Jan 2022 18:01:20 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id y17sm1182232qtj.75.2022.01.12.18.01.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 18:01:20 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 23:00:10 -0300 Message-Id: <20220113020026.590-15-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 163/281] vivo: 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/vivo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/vivo.c b/libavformat/vivo.c index 2a08e1df03..114eb212e5 100644 --- a/libavformat/vivo.c +++ b/libavformat/vivo.c @@ -249,7 +249,8 @@ static int vivo_read_header(AVFormatContext *s) ast->start_time = 0; ast->codecpar->codec_tag = 0; ast->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; - ast->codecpar->channels = 1; + ast->codecpar->ch_layout.order = AV_CHANNEL_ORDER_UNSPEC; + ast->codecpar->ch_layout.nb_channels = 1; return 0; } -- 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".