Make truncated mpeg4 GOP header check a bit more specific.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
49d57a8269
commit
499c2d41d7
@ -1495,7 +1495,7 @@ end:
|
|||||||
static int mpeg4_decode_gop_header(MpegEncContext * s, GetBitContext *gb){
|
static int mpeg4_decode_gop_header(MpegEncContext * s, GetBitContext *gb){
|
||||||
int hours, minutes, seconds;
|
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");
|
av_log(s->avctx, AV_LOG_WARNING, "GOP header invalid\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user