Commit 499c2d41 authored by Michael Niedermayer's avatar Michael Niedermayer

Make truncated mpeg4 GOP header check a bit more specific.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 49d57a82
......@@ -1495,7 +1495,7 @@ end:
static int mpeg4_decode_gop_header(MpegEncContext * s, GetBitContext *gb){
int hours, minutes, seconds;
if(!show_bits(gb, 18)){
if(!show_bits(gb, 23)){
av_log(s->avctx, AV_LOG_WARNING, "GOP header invalid\n");
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment