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 612BC42D30 for ; Thu, 13 Jan 2022 02:05:37 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AF6BD68B18A; Thu, 13 Jan 2022 03:53:22 +0200 (EET) Received: from mail-qv1-f52.google.com (mail-qv1-f52.google.com [209.85.219.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2AA6A68B170 for ; Thu, 13 Jan 2022 03:53:19 +0200 (EET) Received: by mail-qv1-f52.google.com with SMTP id a8so5145692qvx.2 for ; Wed, 12 Jan 2022 17:53:19 -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=EwyUq7gDWRE/cFIY9vHc6l17zTRzQtIaPblOU5Feiws=; b=pVoQ08IfKuA1WNwx5llbqC6CDjPVjV1oGkEf4ONAHwOkhzRB3BkQfoni1VWSjGUpjx TKKzIqJX/2wcsBIF/YGfftMBr9QDSZEh37HLh+GXzCYtQ5z4qzSKwhuGgSLxPUzjYK2P 2x9GSrZ/8A8DHRBn3Tn2HQ1Qos+NAgSztDmAJQeOxInOnNV+BCcbhjBKrOOktjCmyrsQ WOoZSzuX+IL+/ayU6ubPqyF71vTz+i8geNfxBiZgTQEqpj5QgFknRzn5bwx2/Qp4A/R8 m6qMdUCajQZEHFrZMrQobQ1ax/adSL5Nmmu8dGXbqw87i3zA5fqG7TvV4EmES5qefHwU 4mhQ== 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=EwyUq7gDWRE/cFIY9vHc6l17zTRzQtIaPblOU5Feiws=; b=DcOnu8XIWHpqmdXGBbuYDtLTP9JMXf0HiERVdIh5k/fXu0EYar/lzP49+rf2k4OJbo PCP7HtoUv3ktOCnLtFf0C3tUEXvrB0Sj7dxekh8ZsP3NyqpJ4boycnTk/KYcbIl8JnCk V4RDSl3S+43MmlcL94CU5A8Pvd58/1+K6wdcYbvbFRIS3NU94GAOnhKCS3srVrvHGrzn GjBeF129qX30rnctCwWFwmCwPz9QxsC01Eppt5NPB8+Klefq1lmKhLF1oktkUYcSFuWj 5Uj/VBsGS3qi+CddDeF7PG1+93WEPo96NhGCe37ue+VXjnBXrE4q+UFWNoAb/ak3daJV XDyw== X-Gm-Message-State: AOAM531T6h23K9wVexzgIgsFCo4CvAtl3sILHu9rIeOqVokSTajx2h8q /H0LCjPh8VG9sIASpRsaD/JiHv/jaEc= X-Google-Smtp-Source: ABdhPJyVf8FFXsOQhAoXFbUVnHoWG7uoYxzUU7Bs7LeKJyeSvOsJ2uov4HlsnT5/EJwbVwQm7OBBHQ== X-Received: by 2002:a05:6214:518f:: with SMTP id kl15mr2410491qvb.4.1642038797576; Wed, 12 Jan 2022 17:53:17 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id i21sm1204710qti.31.2022.01.12.17.53.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:53:17 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:50:26 -0300 Message-Id: <20220113015101.4-65-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 064/281] g722: 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/g722.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/g722.c b/libavformat/g722.c index 3bfe05ea6f..08cd2cbc87 100644 --- a/libavformat/g722.c +++ b/libavformat/g722.c @@ -35,7 +35,7 @@ static int g722_read_header(AVFormatContext *s) st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; st->codecpar->codec_id = AV_CODEC_ID_ADPCM_G722; st->codecpar->sample_rate = 16000; - st->codecpar->channels = 1; + st->codecpar->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO; st->codecpar->bits_per_coded_sample = av_get_bits_per_sample(st->codecpar->codec_id); -- 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".