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 7006D42DA5 for ; Thu, 13 Jan 2022 02:15:21 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 52A6268B2BE; Thu, 13 Jan 2022 03:56:52 +0200 (EET) Received: from mail-qv1-f46.google.com (mail-qv1-f46.google.com [209.85.219.46]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8EFAB68B2AA for ; Thu, 13 Jan 2022 03:56:49 +0200 (EET) Received: by mail-qv1-f46.google.com with SMTP id hu2so5085374qvb.8 for ; Wed, 12 Jan 2022 17:56:49 -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=yLkRLFLUJbbqBLH8diNGpWr1EQE3cU0lfaZ2A0ciSJ0=; b=mPBBQElZDDESrJ7Cx61syus+uEuYR4YzcwBGJioTqlbmlXL6In4wZKRV/+meCgAtB1 i+b08jmblumTs57r3YXuR6KhcSuffkSIAxUcgunXwRrzc+TEJ/shYBqr6juLQUJYpWt/ ZzylOQrx0F9SiblEpfmGWroBGuDcvnSl1vj/qVx1NvzQotBEKRDgXCkqHy6uOxPMKkS8 CiZx3uPgT3g6z7YJ/WXaLDZHBeY8i3Qp6rBFADqw4tItjn0FgxjnFoIAtr06YQrWvvMR jlxqOczcfywNSh7sZgzhRN5J8AooCd8kTVZKt8LpzdntKLbgeq8YolbnaxVCbP9qlDHK 0TzA== 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=yLkRLFLUJbbqBLH8diNGpWr1EQE3cU0lfaZ2A0ciSJ0=; b=G3ugv5nKKtk8fvqzb69+h9Ri+rHaRni/GtLxEGFqVYbRQyIkrgwNQejxwV3Q6dnhW1 yuaF5z94iCXG+UKpBGANaP25AW2k+RNe6ng2cK/LuvhRwDxMZGIHhrMinNO1kfdVfsja E6wQqjzKBu7FF2w6EdoI2YTzTwaXD5NL125KM7sU14b9coC9JyUKIiMsD5tQzQsa9XmC 8lh04I5EhOjfo7/wcU4UNlpCX4qUU/TjU26xbUaRkhAoMwm8BbdcLHil7xyOLpmLAlFf ZnaptX+3q7n0lZvZyHH/TzcZzcMLVSZPWPPdqH79w3yDDKBOMzguVcN47BLUy/kYB+fk oWSw== X-Gm-Message-State: AOAM533KsZlqq3nNicwvlBct2cKqF5cycgkGaB/qZsIyOgCBqKKUFf7L ZermbIPQhn641eRhlRPXwtYtC9g6F58= X-Google-Smtp-Source: ABdhPJz+aQYSY581Jvkdq5xakRwzGXQm9mErQJPHc/fvifT+Udxw/5kjPodZXFhmOyckjT6A8gzGug== X-Received: by 2002:a05:6214:2349:: with SMTP id hu9mr2140945qvb.66.1642039008151; Wed, 12 Jan 2022 17:56:48 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id t11sm906506qkm.77.2022.01.12.17.56.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:56:47 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:56:01 -0300 Message-Id: <20220113015612.448-20-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 108/281] mvi: 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/mvi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/mvi.c b/libavformat/mvi.c index 4c67e3569d..b2d6a92a4b 100644 --- a/libavformat/mvi.c +++ b/libavformat/mvi.c @@ -84,8 +84,7 @@ static int read_header(AVFormatContext *s) avpriv_set_pts_info(ast, 64, 1, ast->codecpar->sample_rate); ast->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; ast->codecpar->codec_id = AV_CODEC_ID_PCM_U8; - ast->codecpar->channels = 1; - ast->codecpar->channel_layout = AV_CH_LAYOUT_MONO; + ast->codecpar->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO; ast->codecpar->bits_per_coded_sample = 8; ast->codecpar->bit_rate = ast->codecpar->sample_rate * 8; -- 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".