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 40F5C42CC0 for ; Thu, 13 Jan 2022 01:59:21 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A595668AFDD; Thu, 13 Jan 2022 03:52:48 +0200 (EET) Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 21D1368B05B for ; Thu, 13 Jan 2022 03:52:44 +0200 (EET) Received: by mail-qk1-f172.google.com with SMTP id 82so5535786qki.10 for ; Wed, 12 Jan 2022 17:52:44 -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=+/35NihsgcM5ZL9m+vYALy/B6UPKfbEbYcjyyUUDoPI=; b=L0AwJjn80+TeL6gQbkqbKiKjy4bvn13hEXvBVJN0tjw28viAY7r9BblywD05YoP8h6 aUT6LLlZ22i3LHBg0/U5reEDbjh2Lqq4bDdEZ9+siaB+H1FGtOOF6NI6irFZ2ZETsNK+ MCudVTaG/rThq+6It99zwW9bUynySH6c9DE3t7ZwTEUuE9BAFJAxh5Clu8FEL2SLG7FC ABGLTEgObMza4lzH2vy4hcaCWfOPhuwSwpQgpopYZQS8nc1zLIFEAcIiVGXxZkGVBz/2 xxbYjtpatn/dlx7iF6vHSx0PjIuiC8IwTSm6WGkjnfnsR5vsX/2xFM9cyLk36nmTHSF4 7Zxw== 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=+/35NihsgcM5ZL9m+vYALy/B6UPKfbEbYcjyyUUDoPI=; b=ipSzhNl5vyPEKPw3gFRobUVTQGo9VkuYC+NSvvLqP1NBE+a9R3etxhf8tKXFhOwbez fvp11oLi9/PTJVje7sInR3LC1jCXWTJ7FOcq+MKhcEvlFY1av2rWFu4ZcWO9pYGgILAL ajEVn6VaPK8X6Xs0FXHe9Gkkr3SujU79YKmjtWrqGeLJbMGpFPN5D6xdUwnBS+aGkyik gv2nCZUJfWCW7JWXvnF1canQokur1CiUBuG4GSbqI7yAtqTdWdbkX6TRgH6/HpmLLWol l4i+XNrbUyrrXtXU15vliYpm+oCOdjpd9oC9RLWsKeMEmZPoHAjjNhiWcp/T6Pgp2Lp/ 9UzQ== X-Gm-Message-State: AOAM532rGrDRaimQlM/5wM8wYVhgqVFLoFbFHex1kJLu9CrBA03C1IYd nEy72vYqqRt4yFyPazbBOeCUwyF/R/g= X-Google-Smtp-Source: ABdhPJyL35OpU8lEPIPfCsZ7jO8xSgaUXzVK0UwdbptLy9NNW690msa0mWhBFjGjNczYiblCq8cp8w== X-Received: by 2002:a05:620a:2404:: with SMTP id d4mr1871601qkn.323.1642038763439; Wed, 12 Jan 2022 17:52:43 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id i21sm1204710qti.31.2022.01.12.17.52.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:52:43 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:49:58 -0300 Message-Id: <20220113015101.4-37-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 036/281] bfi: 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/bfi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/bfi.c b/libavformat/bfi.c index 69000118fa..a42b78b8c0 100644 --- a/libavformat/bfi.c +++ b/libavformat/bfi.c @@ -106,8 +106,7 @@ static int bfi_read_header(AVFormatContext * s) /* Set up the audio codec now... */ astream->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; astream->codecpar->codec_id = AV_CODEC_ID_PCM_U8; - astream->codecpar->channels = 1; - astream->codecpar->channel_layout = AV_CH_LAYOUT_MONO; + astream->codecpar->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO; astream->codecpar->bits_per_coded_sample = 8; astream->codecpar->bit_rate = (int64_t)astream->codecpar->sample_rate * astream->codecpar->bits_per_coded_sample; -- 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".