[FFmpeg-devel] [PATCH 0/1] Fix off-by-one in ASS subtitle encoder

Tim Angus tim at ngus.net
Thu Jan 5 22:58:41 EET 2023


When writing a subtitle SSA/ASS subtitle file, the
AVCodecParameters::extradata buffer is written directly to the output,
including the null terminating character of the buffer. This appears to
be a simple off by one bug, which is fixed by the subsequent patch.

Tim Angus (1):
  avformat/assenc: fix incorrect copy of null terminator

 libavformat/assenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.25.1



More information about the ffmpeg-devel mailing list