diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index 6dc37abb71..bef7075a26 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -724,6 +724,7 @@ static int svq3_decode_slice_header(H264Context *h) memcpy((uint8_t *) &s->gb.buffer[get_bits_count(&s->gb) >> 3], &s->gb.buffer[s->gb.size_in_bits >> 3], (length - 1)); } + skip_bits_long(&s->gb, 0); } if ((i = svq3_get_ue_golomb(&s->gb)) == INVALID_VLC || i >= 3){