mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/microdvddec: skip empty lines
This commit is contained in:
parent
6347146e3d
commit
163bb087f8
|
@ -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…
Reference in New Issue