Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/escape130.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/escape130.c b/libavcodec/escape130.c
index e7ba7bd508..e3722c51c8 100644
--- a/libavcodec/escape130.c
+++ b/libavcodec/escape130.c
@@ -69,7 +69,7 @@ static unsigned decode_skip_count(GetBitContext* gb) {
unsigned value;
// This function reads a maximum of 27 bits,
// which is within the padding space
- if (!can_safely_read(gb, 1))
+ if (!can_safely_read(gb, 1+3))
return -1;
value = get_bits1(gb);