diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-08-11 00:31:55 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-08-30 19:15:48 +0200 |
commit | 088f08db717a2224e68060619b5a714513217c8d (patch) | |
tree | f82f5d2f39353e626c877f21294f20cf329de67b /libavfilter/lswsutils.c | |
parent | 3c397a1d4624dc96651696a7b6d6d5a972665fd2 (diff) | |
download | ffmpeg-088f08db717a2224e68060619b5a714513217c8d.tar.gz |
avformat/matroskaenc: Avoid atoi()
It has undefined behaviour in case the value does not fit into an int.
Also stop allowing to override a stream level "alpha_mode" tag
by an AVFormatContext one and properly check that the stereo_mode
number given via a tag is actually in the range 0..14: Negative
values would have been treated as zero before this patch.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/lswsutils.c')
0 files changed, 0 insertions, 0 deletions