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 89EBD42CDE for ; Thu, 13 Jan 2022 02:03:02 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7E86E68B133; Thu, 13 Jan 2022 03:53:07 +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 1B67E68B0D7 for ; Thu, 13 Jan 2022 03:53:04 +0200 (EET) Received: by mail-qt1-f171.google.com with SMTP id g21so5194396qtk.4 for ; Wed, 12 Jan 2022 17:53:03 -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=BLgmxqbVOFlWSf7vKmEP/uT0OpNSehJJPQx64XWWBPc=; b=SDWs095xAgd8x7T00Ab2tBtY0O3hcTOootTNwOOtaaOUKNF67KiOcbriYuZUN7VXDs HifMd//yc50/5errghi6fHqYEv7zLad0zoxGrvucaR4YL7mtT4EKK+yJ+Cyq4/Ngs8EQ tAzxu/NE8MuA+RsHiJv/2gRJem7yOQhpAncHZvQqflQW2TRLzTHB3rFTJaRHm7QQIBN8 lSLWxQuDQi7bNK1mRnTzzAAgw7CJQntJZS9i6fMqW3ZXKWReRuT376k8GSoh2wpBSaWo sWIOQddDsLFdVew9UUJ58zJaQSYo/efmpKwdByYP3nc3oXqI9ywbfuXOXclkpEBklE9x 7ESg== 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=BLgmxqbVOFlWSf7vKmEP/uT0OpNSehJJPQx64XWWBPc=; b=LFozNcZBHPW3O9IE2s6rj2TilZLotNTgH5i/8FEoaEqAO2727Mjj9qJWmTI76yu3++ 8h7vcQ8NnQWpRIlZo9Dcc2Rz0kmtJ044pU5p2wmIT2l/XHyi9FVGzQXOZCZBezCiARUq Px/fg6smS3xea5hNVHVwma1JCTjsM7QO0rrct4GLumVUiaUSTP2T4BKi5V41sq4bBmdU t4DuN7fnEakGkYSvugGQLihht8W0kF4pw7gDW0a8IebMnY26MQX7/CdrjDnL0NRS42TB j4voBvbcGmJNtY35T+9ZG/5G2aJ7GPaShmLTA0tbuOu5YCcBynKNt2o5sFerBiVm+T6H tXTg== X-Gm-Message-State: AOAM533LrsBS47SRWKEvBFZK7hNFLzWFBiyujEgy8qRe8T1sYtIUWKRL Wn+rmK+qxJVJKVvazj8yytmth/A9+VE= X-Google-Smtp-Source: ABdhPJwa6klshNRLSXbCv/y16iMnEJnAT2ATqTt8/4/7MQ7p0oabkIOwzjrBPM1qeS/3jkg7BECWGA== X-Received: by 2002:ac8:5a0d:: with SMTP id n13mr2026012qta.261.1642038782722; Wed, 12 Jan 2022 17:53:02 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id i21sm1204710qti.31.2022.01.12.17.53.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:53:02 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:50:14 -0300 Message-Id: <20220113015101.4-53-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 052/281] dss: 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/dss.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/dss.c b/libavformat/dss.c index ee3a099a95..d619ea00d7 100644 --- a/libavformat/dss.c +++ b/libavformat/dss.c @@ -155,8 +155,7 @@ static int dss_read_header(AVFormatContext *s) } st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; - st->codecpar->channel_layout = AV_CH_LAYOUT_MONO; - st->codecpar->channels = 1; + st->codecpar->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO; avpriv_set_pts_info(st, 64, 1, st->codecpar->sample_rate); st->start_time = 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".