Browse Source

avformat/microdvddec: skip empty lines

tags/n4.2
Paul B Mahol 6 years ago
parent
commit
163bb087f8
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/microdvddec.c

+ 2
- 0
libavformat/microdvddec.c 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;


Loading…
Cancel
Save