demux/subtitle: Fix wrong ASS header parsing
After optimization in 6cccd64dacf431e1c33877e131b09ff906c85972,
complete ASS header was discarded for some subtitles.
close #12733
(cherry picked from commit feb92ccef60546bfdfdae074eb99cd019ca7aad2)
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
Showing
Please register or sign in to comment