Commit 0d18d564 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

CUE: support Unix Line Endings

Close #5322
parent 55bc237c
......@@ -27,7 +27,10 @@ function probe()
header = vlc.peek( 2048 )
return string.match( header, "FILE.*WAVE%s[\r\n]+" ) or
string.match( header, "FILE.*AIFF%s[\r\n]+" ) or
string.match( header, "FILE.*MP3%s[\r\n]+" )
string.match( header, "FILE.*MP3%s[\r\n]+" ) or
string.match( header, "FILE.*WAVE%s*[\n]+" ) or
string.match( header, "FILE.*AIFF%s*[\n]+" ) or
string.match( header, "FILE.*MP3%s*[\n]+" )
end
-- Helpers
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment