Commit 163bb087 authored by Paul B Mahol's avatar Paul B Mahol

avformat/microdvddec: skip empty lines

parent 6347146e
......@@ -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;
......
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