diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-04-27 12:47:39 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-04-27 12:57:18 +0200 |
commit | 163bb087f81d1cda9c29b83d9f14a376a6996f81 (patch) | |
tree | bef28e7ad79a878e27771b53ba1870ea0950ac65 /libavformat | |
parent | 6347146e3d3d55216445696504d49e33470e17ad (diff) | |
download | ffmpeg-163bb087f81d1cda9c29b83d9f14a376a6996f81.tar.gz |
avformat/microdvddec: skip empty lines
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/microdvddec.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |