diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-24 15:31:14 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-31 18:43:50 +0100 |
commit | a15d904ad752a2d0cca7ac6246c0c2f8c91286b4 (patch) | |
tree | 0d4373f3782f31edd83b444b3b2ebbb94e3882a2 /libavcodec/binkaudio.c | |
parent | 9a8471e3f025d8f1bf20b8950ec7d80ed6ec1eba (diff) | |
download | ffmpeg-a15d904ad752a2d0cca7ac6246c0c2f8c91286b4.tar.gz |
avcodec: Replace get_bits_long() by get_bits() where possible
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/binkaudio.c')
-rw-r--r-- | libavcodec/binkaudio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c index 2384ebf312..64a08b8608 100644 --- a/libavcodec/binkaudio.c +++ b/libavcodec/binkaudio.c @@ -153,7 +153,7 @@ static av_cold int decode_init(AVCodecContext *avctx) static float get_float(GetBitContext *gb) { int power = get_bits(gb, 5); - float f = ldexpf(get_bits_long(gb, 23), power - 23); + float f = ldexpf(get_bits(gb, 23), power - 23); if (get_bits1(gb)) f = -f; return f; |