diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-11-11 02:12:58 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-01-17 20:17:55 +0100 |
commit | 5b7e90b252f765d677de6882bc65a362205638fa (patch) | |
tree | 3e8e4841127c3ae27fc2cbae190b61dc2dcd0ce7 /libavcodec/mpegaudiodecheader.h | |
parent | 7938da53b67fe53d4b132952e87a76a0521381fe (diff) | |
download | ffmpeg-5b7e90b252f765d677de6882bc65a362205638fa.tar.gz |
avformat/oggparsevorbis: Use AV_DICT_DONT_STRDUP_VAL to avoid av_strdup
This will likely also fix CID 1452427, 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).
(AV_DICT_APPEND and AV_DICT_DONT_STRDUP_VAL are compatible with each
other since a8c5b455, so we can reset this flag here. It has originally
been removed in 0dc66553 when appending was added.)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mpegaudiodecheader.h')
0 files changed, 0 insertions, 0 deletions