]> git.sesse.net Git - ffmpeg/commit
avformat/matroskaenc: Don't use NULL for %s format string
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 14 Jun 2020 01:35:41 +0000 (03:35 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 15 Jun 2020 14:54:06 +0000 (16:54 +0200)
commit6de6ce7bc80e874099895b6c73977bc2efb06a4d
tree8f0d2889359c6da49b88f6fa738a2c2f7b3c2470
parentc784fe8b867e42a1c8d2c48d7046e3e0cce7ec31
avformat/matroskaenc: Don't use NULL for %s format string

The argument pertaining to a printf %s conversion specifier must not
be NULL, even if the precision (i.e. the number of characters to write)
is zero. If it is NULL, it is undefined behaviour.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/matroskaenc.c