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 01BBD4B2A0 for ; Sun, 2 Jun 2024 23:15:06 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2AB1868D63E; Mon, 3 Jun 2024 02:15:04 +0300 (EEST) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3644568D3D7 for ; Mon, 3 Jun 2024 02:14:58 +0300 (EEST) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1f48b825d8cso29803215ad.2 for ; Sun, 02 Jun 2024 16:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717370095; x=1717974895; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=pbGNny94qk8YyiLyA+s+6IlsZmJSCv1Rm9Exx/PopYM=; b=bRuBP70awVvWL9Pm2khC//v7lWQijmTfXwvaKB60UZREp3fxv9hI/1qgOkjp/YZilf IsdXEuT1/yI673MOZ6uKvCi/sy+0tG75Mk4HhZ+kOiFwco39sUz5fxHD9+us2F65F8gl H3O1juzB8+mItuAH+mSj7ESYUxXEQtuv7ZhD1wEHn4VJH3F6DW4BW281DvWgDVLnLlUL Fc1kmhkLrJV4vPDizAndgiHEKP76SAJDh9qRDVF80jmxMtVklq/+nVEd1FIP8pfDn7iS RjxYieBiYXpu179DB7dWy8+I8e2XjLf3RDsVtL6o0H4iclPK0/yM3Rc2ITiaGrsc6sij BsMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717370095; x=1717974895; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pbGNny94qk8YyiLyA+s+6IlsZmJSCv1Rm9Exx/PopYM=; b=rjvLq1M7QQtTmkzSDzz/KOftkODtps4vU1FMGngVYCT2k610tfaeu3oMKFpVAIdjFj Q3iw5Ah64YkZPR9aCVhRLNIeZwvEdr8K+iRbNSpbzA9qD77d48GEfFAxSOgQlo7fstzN JnVRCg3meqo6oKwRBP7UG6tChFLQZrcx8dY0eGSjJXmzmHhkqikEG80I3kbBHWJfePwI PxPrmz03/Qyi0sOLBdnanDz98csBbgSnCKybuFPciWSxymX4eZcH4OEdLX8UojicKHXZ 9E78Y2KOM/gbibNm2iJctj4RqD5rqo/svnq+rB/6XH6PP2Oi6C9sfsCu+Bepbu5j9Tq+ ioLQ== X-Gm-Message-State: AOJu0Yz5z+3HW1AWJQEI1GfN1jh9TiVR8lg24fO2XrUbiQHLrlczj8kO bbRZB3jZo1sdiOVhqLKtIYr1Fjt6Yljkk81Y6vpbCGzqBRf8Y3ZKDBLnPg== X-Google-Smtp-Source: AGHT+IGHRJuUuMQgyA9ev+eguT5NqLRfcBA/OQre7iM61cAoC5Wg/A4lpYZ2nBu/KQ6nPx5ALcE5mA== X-Received: by 2002:a17:902:d4cc:b0:1f6:751b:f0d with SMTP id d9443c01a7336-1f6751b1102mr23014725ad.22.1717370095115; Sun, 02 Jun 2024 16:14:55 -0700 (PDT) Received: from localhost.localdomain ([190.194.167.233]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f63242512dsm51704095ad.305.2024.06.02.16.14.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 16:14:54 -0700 (PDT) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Sun, 2 Jun 2024 20:14:48 -0300 Message-ID: <20240602231448.4818-1-jamrial@gmail.com> X-Mailer: git-send-email 2.45.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] avcodec/aac/aacdec_usac: remove unnecessary cast 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: Fixes "libavcodec/aac/aacdec_usac.c(543): error C2440: 'type cast': cannot convert from 'GetBitContext' to 'GetBitContext'" from msvc. Signed-off-by: James Almer --- libavcodec/aac/aacdec_usac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/aac/aacdec_usac.c b/libavcodec/aac/aacdec_usac.c index 00ec74718b..c76d72d7a7 100644 --- a/libavcodec/aac/aacdec_usac.c +++ b/libavcodec/aac/aacdec_usac.c @@ -540,7 +540,7 @@ static int decode_spectrum_and_dequant_ac(AACDecContext *s, float coef[1024], c = ff_aac_ac_map_process(state, reset, N); /* Backup reader for rolling back by 14 bits at the end */ - gb2 = (GetBitContext)*gb; + gb2 = *gb; gb_count = get_bits_count(&gb2); for (i = 0; i < len/2; i++) { -- 2.45.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".