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 1292042D13 for ; Thu, 13 Jan 2022 02:09:04 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6DDF068B1F2; Thu, 13 Jan 2022 03:53:40 +0200 (EET) Received: from mail-qv1-f47.google.com (mail-qv1-f47.google.com [209.85.219.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F117568B1D8 for ; Thu, 13 Jan 2022 03:53:36 +0200 (EET) Received: by mail-qv1-f47.google.com with SMTP id p12so5082325qvj.6 for ; Wed, 12 Jan 2022 17:53:36 -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=6GHlesVvAcodk5NrG9S315enM10jSBbvxnSZ3t5kg1Y=; b=dXz28q15u7cF65ErZ5XayM7nEuqXut48E9dVxqbYLNv7G4ugOAFvaTo8l9XUgPvdu5 RwAcLj8cnAUW7nOBUSvOgQUmSyTFpR5pd5xL9GwtfeGMbwxo2NY0KLjFrk5ZKdQmJNaO aCjIKJVxB/5WaZr8n3IDGWZxDcNAC7lJBfk8S7Pc+2Qp35g4/o79hbQg1GthJIpbEV+D 6gAfnPFvP7+tRm4WKoqKRBIxAU19tOWWYwk3WsIIDF2lnQ1MjbXpa0gaiASebTIwWq46 nbQHhIg094bMUMXuo3e4NTtbawPksiXsZBjv/qCL82iOSFSBbzaM6AV8CpPAdf4V4Ptu ZV2A== 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=6GHlesVvAcodk5NrG9S315enM10jSBbvxnSZ3t5kg1Y=; b=jJ/X11MxftCr9V7fN04bLhc4+0XzxtXa1dqyRJDV9cRP1Nj350cHQzx02wSLLCqAF8 rUzMBFc+UNmao2/oKRoqcCNo9U1FiJeFjBMy18jBqhWXjyi57wd41azBcIrn9pkG9EWr MPbHmlABltAyhoP9FaJxF+qSe/gquAu5YlgYNO6AZ972Tk8eYOaIzmodm6qbkppRGG/o A/ZBrXBRJBfncH3kA/65121hc+UUwk9/tMrG8ijjKWfgYT71C5spYUThSJkq1ldn2wOz KTFU8pcrwBlUpba3rxcOiJHHW67Ucl6wVWlz90axRSuJxP7j8tpEFFou28sCoqlL/FBd 3tCQ== X-Gm-Message-State: AOAM533TiDZFhxdbXLlgs0ZFm1Gb/SrLSszpKIkZLOKZPsqDGJEK+Ij3 Q7RUqGUUv+0wAkE70YdzXqowXWxiycQ= X-Google-Smtp-Source: ABdhPJyn3b0M+w1TkOBGAzpEcRNkNXyG8CjBSFx2G1i3U34zkxIhcAVotYvygIVFCGKdCv1alxDMxQ== X-Received: by 2002:a05:6214:c69:: with SMTP id t9mr2121059qvj.100.1642038815573; Wed, 12 Jan 2022 17:53:35 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id i21sm1204710qti.31.2022.01.12.17.53.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:53:35 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:50:41 -0300 Message-Id: <20220113015101.4-80-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 079/281] ilbc: 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/ilbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/ilbc.c b/libavformat/ilbc.c index 0cbdd3d5b8..361116571f 100644 --- a/libavformat/ilbc.c +++ b/libavformat/ilbc.c @@ -75,7 +75,7 @@ static int ilbc_read_header(AVFormatContext *s) return AVERROR(ENOMEM); st->codecpar->codec_id = AV_CODEC_ID_ILBC; st->codecpar->sample_rate = 8000; - st->codecpar->channels = 1; + st->codecpar->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO; st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; st->start_time = 0; avpriv_set_pts_info(st, 64, 1, st->codecpar->sample_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".