]> git.sesse.net Git - ffmpeg/commit
avformat/matroskadec: Use AV_DICT_DONT_STRDUP_VAL to save av_strdup
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 10 Nov 2019 04:07:31 +0000 (05:07 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 1 Jan 2020 15:38:28 +0000 (16:38 +0100)
commit40d9cbdc22340572ea5ebe5fe77c73eafafabef8
treeeabc9a418962142fdc379e71879136438c7dc3b6
parent34e3810b04cadf4ccb0d96b9d36a9daf45179c05
avformat/matroskadec: Use AV_DICT_DONT_STRDUP_VAL to save av_strdup

This will likely also fix CID 1452562, a false positive resulting from
Coverity thinking that av_dict_set() automatically frees its key and
value parameters (even without the AV_DICT_DONT_STRDUP_* flags).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/matroskadec.c