summaryrefslogtreecommitdiff
path: root/ffmpeg/libavformat/microdvddec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/libavformat/microdvddec.c')
-rw-r--r--ffmpeg/libavformat/microdvddec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg/libavformat/microdvddec.c b/ffmpeg/libavformat/microdvddec.c
index 4b42846..7b49e43 100644
--- a/ffmpeg/libavformat/microdvddec.c
+++ b/ffmpeg/libavformat/microdvddec.c
@@ -1,7 +1,7 @@
/*
* MicroDVD subtitle demuxer
* Copyright (c) 2010 Aurelien Jacobs <aurel@gnuage.org>
- * Copyright (c) 2012 Clément Bœsch <ubitux@gmail.com>
+ * Copyright (c) 2012 Clément Bœsch <u pkh me>
*
* This file is part of FFmpeg.
*
@@ -47,7 +47,7 @@ static int microdvd_probe(AVProbeData *p)
sscanf(ptr, "{%*d}{%*d}%c", &c) != 1 &&
sscanf(ptr, "{DEFAULT}{}%c", &c) != 1)
return 0;
- ptr += strcspn(ptr, "\n") + 1;
+ ptr += ff_subtitles_next_line(ptr);
}
return AVPROBE_SCORE_MAX;
}