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 796F242D52 for ; Thu, 13 Jan 2022 02:12:13 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B2C1768B23A; Thu, 13 Jan 2022 03:56:35 +0200 (EET) Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id EA1EB68B232 for ; Thu, 13 Jan 2022 03:56:33 +0200 (EET) Received: by mail-qt1-f171.google.com with SMTP id y10so5369116qtw.1 for ; Wed, 12 Jan 2022 17:56:33 -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=qbfdNHvP+BcgGgBlgzoFjdVSrgVS7g23Apnp/5RNH+Q=; b=ctqXYShHjVjH6moOTSW4C4HPJqgG2t4AtVGJ9SqE1LSf7q+rTuCoUmolkGM/pSenzk i9l/fbMfPvrrnvtY4s9rupTfaNbgXeGymYoI8i4S24ZuYEzeweCZPpt/jwKrBlawkX0t nXwH0t/zQCS5HZVKVmuUiDgvGxksYpLpiiOhrbxNguGoUW1BoAD5E7lQ5+yafERBtH5+ 8Ya16FZ00pA/GREXyfX3iCYDxETu4uLyHYLuU0eHyg6HL4CtT0yuoE0xIChCHaChx6US bRcVmut0TTGw/iMMPaHnAcAUgDh9abKkiomhB1rVKyyk/0xWeBFiNB3apZqVwTabUJmG jFog== 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=qbfdNHvP+BcgGgBlgzoFjdVSrgVS7g23Apnp/5RNH+Q=; b=mJew4yHwmS2tzjOyBB0rYrOFU6uFp3UQBS10mdl51WfYrYZm87Ezff4f6NS93bYXsQ VP8IgO9OQ4ukF+1EcgHeZuDSLW+e0E7NA60CfckO7ExmWa2sD4oInP5XfM0hSiWwV3Sz JOPQCRSZSYz3YZVPG9GJ3YxEnkQ2HvPHYz+U0aAUGEBT+Z0LlogYN4TTOBhi9ZkTDImt LLXWo8aFr4FUIQZIPGHZQ5xV8fjmRSRVjY7nLrN9t4gqQ3gjZyth3dWVDcmUJ9mWEWzX QMeUh4YmFlsgfZ7xHMojIlr95zQerSZT95HhNi+iLBKlQqYsnNwontXfc7cBx2q3Krhz W8eg== X-Gm-Message-State: AOAM530SexnB54QUex//KnqM9EbHJOAlLkQMfZEYYMF7gDJZP/+sCiky qBuwWBo1BgPR4z3oLkOhvDx/K/uH7BY= X-Google-Smtp-Source: ABdhPJxj2MJP9geukm6/fMikxtEGD8FYo5pF4t8UuCdIVOHqn4GhctqrdZXw9wJsCHu++FArPg5L1w== X-Received: by 2002:ac8:5986:: with SMTP id e6mr1971531qte.519.1642038992539; Wed, 12 Jan 2022 17:56:32 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id t11sm906506qkm.77.2022.01.12.17.56.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:56:32 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:55:48 -0300 Message-Id: <20220113015612.448-7-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 095/281] moflex: 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: Signed-off-by: James Almer --- libavformat/moflex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/moflex.c b/libavformat/moflex.c index 1d342417f7..0b628add6c 100644 --- a/libavformat/moflex.c +++ b/libavformat/moflex.c @@ -233,7 +233,8 @@ static int moflex_read_sync(AVFormatContext *s) st->codecpar->width = width; st->codecpar->height = height; st->codecpar->sample_rate= sample_rate; - st->codecpar->channels = channels; + st->codecpar->ch_layout.order = AV_CHANNEL_ORDER_UNSPEC; + st->codecpar->ch_layout.nb_channels = channels; st->priv_data = av_packet_alloc(); if (!st->priv_data) return AVERROR(ENOMEM); -- 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".