aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/j2kenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-01 15:54:48 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-02 17:16:29 +0200
commit8766361fc16b6d25ee8be880bf55c9761490cb99 (patch)
treed4f79fd4a736f7aa0d653aa9a96009578d4d2748 /libavcodec/j2kenc.c
parent2004d8d36dd5f85ae806ea00f7cd78a2c65d3815 (diff)
downloadffmpeg-8766361fc16b6d25ee8be880bf55c9761490cb99.tar.gz
avformat/subtitles: Honour ff_subtitles_read_line() documentation
It claims to always zero-terminate its buffer like snprintf(), yet it does it not on EOF. Because of this the mcc demuxer used uninitialized values when reading an empty input file. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/j2kenc.c')
0 files changed, 0 insertions, 0 deletions