mbox series

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

Message ID 20230105205842.1442824-1-tim@ngus.net
Headers show
Series Fix off-by-one in ASS subtitle encoder | expand

Message

Tim Angus Jan. 5, 2023, 8:58 p.m. UTC
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(-)