avformat/microdvddec: skip empty lines

This commit is contained in:
Paul B Mahol 2019-04-27 12:47:39 +02:00
parent 6347146e3d
commit 163bb087f8
1 changed files with 2 additions and 0 deletions

View File

@ -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;