summaryrefslogtreecommitdiff
path: root/libavcodec/mlp_parse.c
diff options
context:
space:
mode:
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);