aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/smjpegenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-18 03:17:50 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-05-23 06:09:09 +0200
commit1030993db212667d64cd0234c2ef1fccd30f0c1f (patch)
tree4b0ee4d5a16b5b1d3f1653c5a1ed040bec035406 /libavformat/smjpegenc.c
parent325c901430781ad2d915828389a8ed5f1ad849bc (diff)
downloadffmpeg-1030993db212667d64cd0234c2ef1fccd30f0c1f.tar.gz
avformat/webmdashenc: Be more strict when parsing stream indices
The syntax of the adaptation_sets string by which the user determines the mapping of AVStreams to adaptation sets is "id=x,streams=a,b,c id=y,streams=d,e" (means: the streams with the indices a, b and c belong to the adaptation set with id x). Yet there was no check for whether these indices were actual numbers and if there is a number whether it really extends to the next ',', ' ' or to the end of the string or not. This commit adds a check for this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/smjpegenc.c')
0 files changed, 0 insertions, 0 deletions