summaryrefslogtreecommitdiff
path: root/libavcodec/bgmc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-11-24 15:31:14 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2019-12-31 18:43:50 +0100
commita15d904ad752a2d0cca7ac6246c0c2f8c91286b4 (patch)
tree0d4373f3782f31edd83b444b3b2ebbb94e3882a2 /libavcodec/bgmc.c
parent9a8471e3f025d8f1bf20b8950ec7d80ed6ec1eba (diff)
downloadffmpeg-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/bgmc.c')
-rw-r--r--libavcodec/bgmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bgmc.c b/libavcodec/bgmc.c
index 2d59aa37ad..361f7c52e6 100644
--- a/libavcodec/bgmc.c
+++ b/libavcodec/bgmc.c
@@ -493,7 +493,7 @@ int ff_bgmc_decode_init(GetBitContext *gb, unsigned int *h,
*h = TOP_VALUE;
*l = 0;
- *v = get_bits_long(gb, VALUE_BITS);
+ *v = get_bits(gb, VALUE_BITS);
return 0;
}