avformat/microdvddec: skip empty lines

pull/310/head
Paul B Mahol 6 years ago
parent 6347146e3d
commit 163bb087f8
  1. 2
      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;

Loading…
Cancel
Save