• Clément Bœsch's avatar
    microdvd: sanitize AVPackets. · 1f265f52
    Clément Bœsch authored
    Current MicroDVD AVPackets contain timing information and trailing line
    breaks. The data is now only composed of the markup data. Doing this
    consistently between text subtitles decoders allows to use different
    codec for various formats. For instance, MicroDVD markup is sometimes
    found in some VPlayer files. Also, generally speaking, the subtitles
    text decoders have no use of these timings (and they must not use them
    since it would break any user timing adjustment).
    
    Technically, this is a major ABI break. In practice, a mismatching
    lavf/lavc will now error out for MicroDVD decoding. Supporting both
    formats requires unnecessary complex and fragile code.
    
    FATE needs update because line breaks in the ASS file were "\n" (because
    that's what is used in the original file). ASS format expect "\r\n" line
    breaks; this commit fixes this issue. Also note that this "\r\n"
    trailing need to be moved at some point from the decoders to the ASS
    muxer.
    1f265f52
Name
Last commit
Last update
..
fate Loading commit data...
ref Loading commit data...
Makefile Loading commit data...
audiogen.c Loading commit data...
base64.c Loading commit data...
copycooker.sh Loading commit data...
fate-run.sh Loading commit data...
fate-update.sh Loading commit data...
fate-valgrind.supp Loading commit data...
fate.sh Loading commit data...
ffserver-regression.sh Loading commit data...
ffserver.conf Loading commit data...
ffserver.regression.ref Loading commit data...
lavf-regression.sh Loading commit data...
lavfi-regression.sh Loading commit data...
lena.pnm Loading commit data...
md5.sh Loading commit data...
regression-funcs.sh Loading commit data...
rotozoom.c Loading commit data...
test.ffmeta Loading commit data...
tiny_psnr.c Loading commit data...
utils.c Loading commit data...
videogen.c Loading commit data...