[FFmpeg-cvslog] avcodec/aac/aacdec_usac: remove unnecessary cast
James Almer
git at videolan.org
Mon Jun 3 03:22:35 EEST 2024
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Jun 2 20:14:17 2024 -0300| [4d59d58ea68ad0b08cb2d4cc4d1b16c3a45a66c9] | committer: James Almer
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 at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d59d58ea68ad0b08cb2d4cc4d1b16c3a45a66c9
---
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++) {
More information about the ffmpeg-cvslog
mailing list