diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-24 17:31:14 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-12-31 20:43:50 +0300 |
commit | a15d904ad752a2d0cca7ac6246c0c2f8c91286b4 (patch) | |
tree | 0d4373f3782f31edd83b444b3b2ebbb94e3882a2 /libavcodec/flvdec.c | |
parent | 9a8471e3f025d8f1bf20b8950ec7d80ed6ec1eba (diff) |
avcodec: Replace get_bits_long() by get_bits() where possible
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/flvdec.c')
-rw-r--r-- | libavcodec/flvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flvdec.c b/libavcodec/flvdec.c index f9beb40afa..c19f07fe05 100644 --- a/libavcodec/flvdec.c +++ b/libavcodec/flvdec.c @@ -30,7 +30,7 @@ int ff_flv_decode_picture_header(MpegEncContext *s) int format, width, height; /* picture header */ - if (get_bits_long(&s->gb, 17) != 1) { + if (get_bits(&s->gb, 17) != 1) { av_log(s->avctx, AV_LOG_ERROR, "Bad picture start code\n"); return AVERROR_INVALIDDATA; } |