aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-06-02 20:14:17 -0300
committerJames Almer <jamrial@gmail.com>2024-06-02 20:14:20 -0300
commit4d59d58ea68ad0b08cb2d4cc4d1b16c3a45a66c9 (patch)
treece21c017ed3b4c195bfd5059a037420467eb0b16
parent6106177ad66ab28f44520534f386239d2405eeab (diff)
downloadffmpeg-4d59d58ea68ad0b08cb2d4cc4d1b16c3a45a66c9.tar.gz
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>
-rw-r--r--libavcodec/aac/aacdec_usac.c2
1 files changed, 1 insertions, 1 deletions
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++) {