mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
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…
x
Reference in New Issue
Block a user