diff --git a/libavformat/mpl2dec.c b/libavformat/mpl2dec.c index b152cc8ddd..ffe1d83991 100644 --- a/libavformat/mpl2dec.c +++ b/libavformat/mpl2dec.c @@ -43,7 +43,7 @@ static int mpl2_probe(AVProbeData *p) if (sscanf(ptr, "[%"SCNd64"][%"SCNd64"]%c", &start, &end, &c) != 3 && sscanf(ptr, "[%"SCNd64"][]%c", &start, &c) != 2) return 0; - ptr += strcspn(ptr, "\r\n") + 1; + ptr += strcspn(ptr, "\n") + 1; if (ptr >= ptr_end) return 0; }