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 0610642EDD for ; Thu, 13 Jan 2022 02:36:14 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9528868B67C; Thu, 13 Jan 2022 04:03:23 +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 4ABCC68B641 for ; Thu, 13 Jan 2022 04:03:19 +0200 (EET) Received: by mail-qt1-f171.google.com with SMTP id h15so978608qtx.0 for ; Wed, 12 Jan 2022 18:03: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=UofZyb/w1ekyshe6r3TROxYYq7XL1wGEP2Imu/trgJY=; b=WdJpD1r7yR9Ut+MW2KG0wmyTN6h2+gOl1m8r9auZESvMfPV+mDuvuHr+LP6DdF7rot XDX4pmc/WB7hpPJ8oZCvURfgzCy//x0tn/E75/JIKSIjgCDxVATIhNEqIpKfR5eGCy/J 3oMFJ0/vHOgG8ulgfLFeqBEeeSnX/vnlFnAp8D8Hc/58zYT1jvQO09zRUR0kxEQqXPaO jW/eCcOkDoGiRhmZgiK07X2eGz+UcPief+IjoLT/gdJ8lWRvtd5MSlp38UqUDlcYHugW FCAiTqqI+vULK4FxvlN4H6NtZBGR7L7TI4LQDA/KJEEcAQ4iKnVtSPB4GKxZTB33KQIa 3ARw== 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=UofZyb/w1ekyshe6r3TROxYYq7XL1wGEP2Imu/trgJY=; b=MIOpiWIwxtBVoT8py44tNtLAdyozS4k7OLvWR4FTXq+Q3KzpZpLWih4vVOCFkfk6LL T3+fbK98A65ZFXDH9uxL+S08sAeyW5qglsq403LvO5vLve7c40x47/LgJ6wZa1+tpuC2 ey3JNuRC3xIxTpKpIztYxu9196B4pGcRoQEGXsw5XWoeqq3NH6vntXBycvuovMe4i81I CbvaZ6oEkfvCiPCPDWxV6XpxSzoLFzX4X4ICeNmRTmMCOfdBL4PUenwVM2QHioS6KV/n J/6E+YQAQ5rll+zzPLZ0o+/FO4a1owuWZjE/JdWO5JTZGvW0K+Wfn5ZrcS8qsWSzW/dn yXJw== X-Gm-Message-State: AOAM533iDV4XPVApUY38pyPBdAoSkYxUd0a3AqILq68hgsqJSFc1hFh0 jMN6yn98jL77JgXIq6abqUY2+NpYaAs= X-Google-Smtp-Source: ABdhPJwOoks8VugOn8OP3TUskeNqWwLrYWJycszgujRHgRVnXUwyFw3gVsfbToLx9Jv6x6Pf8o7Tmw== X-Received: by 2002:a05:622a:138a:: with SMTP id o10mr2061751qtk.211.1642039397849; Wed, 12 Jan 2022 18:03:17 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id v1sm1045961qtc.95.2022.01.12.18.03.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 18:03:17 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 23:02:30 -0300 Message-Id: <20220113020242.661-18-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 197/281] bmvaudio: 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: Vittorio Giovara Signed-off-by: James Almer --- libavcodec/bmvaudio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/bmvaudio.c b/libavcodec/bmvaudio.c index a7eae46103..d81dba8821 100644 --- a/libavcodec/bmvaudio.c +++ b/libavcodec/bmvaudio.c @@ -31,8 +31,8 @@ static const int bmv_aud_mults[16] = { static av_cold int bmv_aud_decode_init(AVCodecContext *avctx) { - avctx->channels = 2; - avctx->channel_layout = AV_CH_LAYOUT_STEREO; + av_channel_layout_uninit(&avctx->ch_layout); + avctx->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO; avctx->sample_fmt = AV_SAMPLE_FMT_S16; return 0; -- 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".