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 9983642D52 for ; Thu, 13 Jan 2022 02:11:18 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 030AA68AFAD; Thu, 13 Jan 2022 03:56:29 +0200 (EET) Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D3F0A68AEF7 for ; Thu, 13 Jan 2022 03:56:27 +0200 (EET) Received: by mail-qk1-f170.google.com with SMTP id t24so5533104qkg.11 for ; Wed, 12 Jan 2022 17:56:27 -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=wOQMGoVTmba/lJgSitOiTjJvy/kiEE2UCp5pyiXue1U=; b=UfH5TDGrubw1KbD2GC3Sv6ZsLaVNS4N2suhVLjI8ojKJ5/R88a7Go9Eneb0+u8HXlr VGDHc3TTclem39pxIUIfFGH39Ko6C+KWtz5MxF8gU2JQjikJIo1OCfey27UXhWSTKwDF CIDFcyHwsL4RZh74KVQBiwXQ7yNN1r+tG3Czqc8hDFyhr0/MkCUn6YIYC3blqWYksbv2 9r8t15YK+4d8nLR9YvWZSGveyctBuqCye6oyLASRg23OEMzm2wDWoONeJky2PxKK4Ccv x7iyNfuUzxnQOnMRMZxXePtj2OhGG0Fpr2DadQIO6LexIDZQDsg447AvZSl5DnMruDtK cx2w== 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=wOQMGoVTmba/lJgSitOiTjJvy/kiEE2UCp5pyiXue1U=; b=fA/HO9w6lu219qQYUjF+chmV3lsJmsm0lhNjGAdz4+D50cbYlR8sQgYsnVTNOeOmX1 bvIsQ4OT9P2aMXHiHykJOQk3dGlZuuFT13+ae9ZCiJUy/41+TdPcRK/hkMWqK+aIZZLa UlAPcClxWrt47RxmbwHo70PbT4WnR4S2tkF2gMVpjFjtegpAt7pCfGvoSKOkAdTr3WUW OfIL9D5hUb4ZaAcFoqszH3ebbku+waaLa1hKHzW+4vb7jvd2wIQBCA6PrAf5mKNiHwbk lB86HQr42EHXZeTVngMoSND1+etVFI8l5TUpvRV2+kr+9ov+5Yzd+nXSK+lxPSk3UY/A FtFw== X-Gm-Message-State: AOAM531EUfS7i4CmpixA6CD+SB5BQgtYdsoMeox/4z+R7nVrLxyyF6Uw CsOeqtSUPHVFEVJjHEm4MAKEthqWnfY= X-Google-Smtp-Source: ABdhPJyP9pBKEDQoQ3OyzwYda3ZirVrPREyiXdbvSS4eo5o5c5e++pmpvNhgrmT5CmnzFBSaFSVTdg== X-Received: by 2002:ae9:eb8b:: with SMTP id b133mr1888448qkg.418.1642038986489; Wed, 12 Jan 2022 17:56:26 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id t11sm906506qkm.77.2022.01.12.17.56.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:56:26 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:55:43 -0300 Message-Id: <20220113015612.448-2-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 090/281] lxfdec: 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/lxfdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/lxfdec.c b/libavformat/lxfdec.c index 7889abb2c9..9e0d265f6a 100644 --- a/libavformat/lxfdec.c +++ b/libavformat/lxfdec.c @@ -281,7 +281,8 @@ static int lxf_read_header(AVFormatContext *s) st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; st->codecpar->sample_rate = LXF_SAMPLERATE; - st->codecpar->channels = lxf->channels; + st->codecpar->ch_layout.order = AV_CHANNEL_ORDER_UNSPEC; + st->codecpar->ch_layout.nb_channels = lxf->channels; 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".