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 37D3742D51 for ; Thu, 13 Jan 2022 02:08:50 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 840FC68B1E6; Thu, 13 Jan 2022 03:53:38 +0200 (EET) Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B9F5F68B1C6 for ; Thu, 13 Jan 2022 03:53:35 +0200 (EET) Received: by mail-qk1-f171.google.com with SMTP id b127so5627484qkd.0 for ; Wed, 12 Jan 2022 17:53:35 -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=xwFZ7Nb02MTLYUrXWTMYeBqK2MikVerZZQbi1yH49mw=; b=DayCv0rqIuiMhxtECUEaXfvEHqiRZw3kcQj+uMH8w//RM8qzSdbOYH7yQrLXSkuaOo 6rUY+toIn09CWdCEQUmIeqMV7LPMFjNmStRqINuFPHxVcacb4u0hcnISTa1ZEzs7hSo7 h/zWTXiaDIUS0VeGdyXU3wRsBEDbbJPE4N13c8mrwx9ls87zrAuS6Y1ckoHq+e3jY7f1 Z+ja0jxus1YEXYSiY89qykbVPFKO8UFLS2/6D28Nc17SjEUe2PMtxFnEP6WUMtyGFH8j iZUUQSZP0AlW/vahmYn+uyBfWeEA1IXEUmhtrlOIOM+FB8m+SFjYWyhe49DpzmmnB055 JqvQ== 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=xwFZ7Nb02MTLYUrXWTMYeBqK2MikVerZZQbi1yH49mw=; b=7JUh51GCOckJzC0lwgAOQmi2oEz17UvpQNwTupV723FOBkaXlNiiMekpj74hY1YIrI dnO2Bv6rSs90ZmBKp6qxcmGp6ARYuxMfv5hdDw+XdQZWtf2gW5ECf6JJ38/vOzRZbcDb MS4LU5KBGb3KO2x1XsGhuIdJNokcLFfwEbovWicPQYiL+uCYVTnLMe+eCw9TYFb4g4Jl nhGMYokrvN6TVHtgya0S8kB70UDo/Wh+OAxCO3QbxAgjPA2TCa3fb7mCB33XpxTuryM8 AXOdO0W/KDDgE7kWXWmO7XtGhuCj0DdG2k7i8YyDiElSHNULY37Y1VMQQ2TxeXsG+6ev Agcw== X-Gm-Message-State: AOAM530axyaW7NwLMoFIsTfIg1+5vZY7GJUgThMnaOhvPdU2MVGfeuP/ xrH5ay9hHJHsGLr4ex0zd8jVZTaMc3c= X-Google-Smtp-Source: ABdhPJwgzPeOoCEQW4N2zmFXxwaLT9Ok9oPbyMzQ2oMnkY2+sOz5AAkWlmOXx2l2M7I1PsPLJX2+fA== X-Received: by 2002:a37:ad0c:: with SMTP id f12mr1825185qkm.671.1642038814365; Wed, 12 Jan 2022 17:53:34 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id i21sm1204710qti.31.2022.01.12.17.53.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:53:34 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:50:40 -0300 Message-Id: <20220113015101.4-79-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 078/281] ifv: 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/ifv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/ifv.c b/libavformat/ifv.c index d38c3ef5a2..490608c5de 100644 --- a/libavformat/ifv.c +++ b/libavformat/ifv.c @@ -155,8 +155,7 @@ static int ifv_read_header(AVFormatContext *s) st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; st->codecpar->codec_id = AV_CODEC_ID_PCM_S16LE; - st->codecpar->channels = 1; - st->codecpar->channel_layout = AV_CH_LAYOUT_MONO; + st->codecpar->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO; st->codecpar->sample_rate = ifv->sample_rate; ifv->audio_stream_index = st->index; -- 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".