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 9AE2F42CA6 for ; Thu, 13 Jan 2022 01:58:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2210168B03D; Thu, 13 Jan 2022 03:52:40 +0200 (EET) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F318468B027 for ; Thu, 13 Jan 2022 03:52:37 +0200 (EET) Received: by mail-qt1-f169.google.com with SMTP id c19so5336986qtx.3 for ; Wed, 12 Jan 2022 17:52:37 -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=CJbQ/7mGixVd0dNiHqIqYz+NGXt1ABVGy9rP6XmTNCg=; b=O5GTMeRIuzos4W1CLdfgQTOyiJ/IbzYNATfbeQ0No29mQjkzbJcG1wg4sp7LwpqSoR nGEhjL92XJ41YOGsBRMI04oNyW/ZVPj6B8KWHRTr7VIhIn/JmEAYHckH4JKmxHn+uc0z IiiQXx3gcCTpBcRVmDcaZI8r+f4NALxBx+rWJUAHdepfFgGZLXZay70FD66wn3I4Aa/b jOFvZDLIuftqAnwVKX+PQ73z9Lu/LZTcP2BItM9b5Q+MuBASRMhzMuEAvZk77l75aL07 KSGfVVK8c2Q+s8QKu8Y3o+DJ6Qb/3MmgXpY1PjFNq9Ig+fIQV0pMT2VfhnHJNuyQt4xI gP5g== 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=CJbQ/7mGixVd0dNiHqIqYz+NGXt1ABVGy9rP6XmTNCg=; b=ZaMXqJNWYtUpYDujJZ5eHjsnIJ+lMxPyKXIeGa9NCJ11etjUFMCSXxzLj5OJfh5dpO 7cHi6CuItULY9Nlwf74b5ySDz1nvE+P6zsD0eeD0pCcPInfBolWcKQP2ni1/xT83HY9b ylAkXOOGbIey0QRNUYrQUroW2w9kDFSp7MysW0iAzriJTsPqGtlMmuE/cdvKnW/Kez4L lijU+AzRSGXkM7FIcq3f0paSNtwNlbgFFpxoNxv6g1s5DaHrZBvSS/fFx6gOk3N+RPJT A1PZ5/DRdWG3BeCW4CQI9LbMnO5EdAG8/pjrXZ1PJcdFsIofU9lnDn1t/P8DW4dWyKup eC6A== X-Gm-Message-State: AOAM532xSH9Max9+NK8iRXE4dRcy8opo0QE+Vnu/fKzxJT3HIWhzIiGa EzDOJLjHRTWRt8qoVS4lXF+LAQzbX/w= X-Google-Smtp-Source: ABdhPJy/84k//sej8+q1whtCBTlMhcLir04rNGf1YbfumTbzG4PpsggejAIUWrufvpa+UofW9P2uEw== X-Received: by 2002:ac8:58c6:: with SMTP id u6mr2008151qta.540.1642038756260; Wed, 12 Jan 2022 17:52:36 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id i21sm1204710qti.31.2022.01.12.17.52.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:52:35 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:49:52 -0300 Message-Id: <20220113015101.4-31-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 030/281] aptxdec: 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/aptxdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/aptxdec.c b/libavformat/aptxdec.c index 7153e262a1..ff1aa32bd8 100644 --- a/libavformat/aptxdec.c +++ b/libavformat/aptxdec.c @@ -42,7 +42,8 @@ static AVStream *aptx_read_header_common(AVFormatContext *s) return NULL; st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; st->codecpar->format = AV_SAMPLE_FMT_S32P; - st->codecpar->channels = 2; + st->codecpar->ch_layout.order = AV_CHANNEL_ORDER_UNSPEC; + st->codecpar->ch_layout.nb_channels = 2; st->codecpar->sample_rate = s1->sample_rate; st->start_time = 0; return st; -- 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".