mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-07-17 13:02:08 +00:00
Text subtitles packets are not 0-terminated (and if they are, it is handled by the recoding process since 0 is a valid Unicode code point). The terminating 0 would overwrite the last payload octet. OTOH, packets must be 0-padded. Fix a problem reported in trac ticket #2431.