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)
|
if (!len)
|
||||||
break;
|
break;
|
||||||
line[strcspn(line, "\r\n")] = 0;
|
line[strcspn(line, "\r\n")] = 0;
|
||||||
|
if (!*p)
|
||||||
|
continue;
|
||||||
if (i++ < 3) {
|
if (i++ < 3) {
|
||||||
int frame;
|
int frame;
|
||||||
double fps;
|
double fps;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user