1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

avcodec/aac/aacdec_usac: remove unnecessary cast

Fixes "libavcodec/aac/aacdec_usac.c(543): error C2440: 'type cast': cannot convert from 'GetBitContext' to 'GetBitContext'"
from msvc.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2024-06-02 20:14:17 -03:00
parent 6106177ad6
commit 4d59d58ea6

View File

@ -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++) {