diff --git a/libavformat/microdvddec.c b/libavformat/microdvddec.c index ef6bcfbc73..ca9086afe9 100644 --- a/libavformat/microdvddec.c +++ b/libavformat/microdvddec.c @@ -102,6 +102,8 @@ static int microdvd_read_header(AVFormatContext *s) if (!len) break; line[strcspn(line, "\r\n")] = 0; + if (!*p) + continue; if (i++ < 3) { int frame; double fps;