summaryrefslogtreecommitdiff
path: root/libavcodec/mlp_parse.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/mlp_parse.c
parent9a8471e3f025d8f1bf20b8950ec7d80ed6ec1eba (diff)
avcodec: Replace get_bits_long() by get_bits() where possible
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mlp_parse.c')
-rw-r--r--libavcodec/mlp_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mlp_parse.c b/libavcodec/mlp_parse.c
index 3a71f2c0b7..45715352c2 100644
--- a/libavcodec/mlp_parse.c
+++ b/libavcodec/mlp_parse.c
@@ -102,7 +102,7 @@ int ff_mlp_read_major_sync(void *log, MLPHeaderInfo *mh, GetBitContext *gb)
return AVERROR_INVALIDDATA;
}
- if (get_bits_long(gb, 24) != 0xf8726f) /* Sync words */
+ if (get_bits(gb, 24) != 0xf8726f) /* Sync words */
return AVERROR_INVALIDDATA;
mh->stream_type = get_bits(gb, 8);