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 5D0EC42DFE for ; Thu, 13 Jan 2022 02:21:44 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CA4EC68B3AA; Thu, 13 Jan 2022 03:58:51 +0200 (EET) Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com [209.85.219.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 690E868B38B for ; Thu, 13 Jan 2022 03:58:48 +0200 (EET) Received: by mail-qv1-f54.google.com with SMTP id q3so5121383qvc.7 for ; Wed, 12 Jan 2022 17:58:48 -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=l9Hbh9YsnCwSfBY/Xt9URDvYwvjoGLeMZAEVWBvd+HU=; b=k4lKqzwaRxZ6gRF4LK2p9OxQpAOvwhzDADVfF1TN8fnH2f8d/TAISZoWsjeA+lIvE7 kT7SWmaunrHDdO2RAR8Ukq2pPXQe5/RStIcxDHRgY6EZ6EKNUXfMXwpuH6Do+yG2XO6m /5z3NrQPYXBmxiamRWUQu40ZGvsIem2PG1VnU5THm0Maxmic5RYA49Cezvf0B2tMFkoF /KQcviqbik3YZATasWrZubApBQqRarQLkHDrQVF6EM7odGRlvLlLEurZkWFZ7ZaMEF6K WQNFLIppouUkoBwqQuFEn6OKw6O9GqdD50+L8VBIBGjgS8IKcfophRRQqUueDc44UtyE l7bQ== 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=l9Hbh9YsnCwSfBY/Xt9URDvYwvjoGLeMZAEVWBvd+HU=; b=43TrijAbMuhLxatYKilbCHo4z9ylSBH1Ke+g84qxkJhQwxZZ5N/ybHQohp+eRXEfJh kmC5EJIYHUtrvZ5qf8xCUQG5c3JcA8uAVxWEonh+x+yiXgwxzVirT/DEuxKvn9zZ/HsN A+SVO9/25/nBCyMIgBqnwkHXd1cHJfKw+9wS24TQt7I5h7vLU0uUNZPEPcxpFvfUajK8 R+CMsO7tFG/MgU8xITwhBSRU4j7R2PAHppRN7KoDjbu1Ru5v9HYYP/2cMmET1EaUxCa/ PgY/+9YmLzdl1hfUSH2GLWY19H4a8PPT2F7fO5No2/mJblm/+k1qw9idKoJFdrzVTFJb 0c1g== X-Gm-Message-State: AOAM5331e6o3kcq2sus29Dsndz7/VItn6Sh7iSSCMulrd9P9SrW9Y4Ww oYwQliFxdzHHz0uQZpiq4KD9+Cle2HA= X-Google-Smtp-Source: ABdhPJzSwkJpzW+4y+Oaiou6xW4pWsyobKuzWkb2KYMLPMC6DbcpRFOgW4SnmgS99cYFdVMqKpvmug== X-Received: by 2002:a05:6214:20c9:: with SMTP id 9mr2348257qve.94.1642039126826; Wed, 12 Jan 2022 17:58:46 -0800 (PST) Received: from localhost.localdomain ([186.136.131.95]) by smtp.gmail.com with ESMTPSA id u19sm893081qke.1.2022.01.12.17.58.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jan 2022 17:58:46 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Wed, 12 Jan 2022 22:57:53 -0300 Message-Id: <20220113015806.519-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 136/281] sbg: 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: James Almer --- libavformat/sbgdec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/sbgdec.c b/libavformat/sbgdec.c index baffbbd6fd..8a6d679056 100644 --- a/libavformat/sbgdec.c +++ b/libavformat/sbgdec.c @@ -1446,8 +1446,7 @@ static av_cold int sbg_read_header(AVFormatContext *avf) sti = ffstream(st); st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; st->codecpar->codec_id = AV_CODEC_ID_FFWAVESYNTH; - st->codecpar->channels = 2; - st->codecpar->channel_layout = AV_CH_LAYOUT_STEREO; + st->codecpar->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO; st->codecpar->sample_rate = sbg->sample_rate; st->codecpar->frame_size = sbg->frame_size; 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".