diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-15 19:32:44 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-16 10:56:34 +0200 |
commit | e3580f60775c897c3b13b178c57ab191ecc4a031 (patch) | |
tree | f0edfa014e0c26f85222947bbe4098c9f3d42a58 /libavcodec/imcdata.h | |
parent | 00ae20dfb49a748df7bfe30c2447cb1815881c89 (diff) | |
download | ffmpeg-e3580f60775c897c3b13b178c57ab191ecc4a031.tar.gz |
avformat/hls, dashdec: Don't use AV_OPT flags in av_dict_set()
av_dict_set() expects a different set of flags, namely the AV_DICT_*
flags. Using AV_OPT_FLAG_DECODING_PARAM (or any AV_OPT_FLAG_*) ic
av_dict_set() is therefore completely wrong and given that av_dict_set()
just doesn't care about whether the string it receives has anything
to do with a decoding parameter or not, it should just be removed
without replacement.
(The numerical value of AV_OPT_FLAG_DECODING_PARAM currently coincides
with AV_DICT_IGNORE_SUFFIX. Given that the dictionaries we are dealing
with here are always empty (i.e. NULL) before the calls to
av_dict_set(), this flag changes nothing. It would be different if
it were equal to one of the AV_DICT_DONT_STRDUP_* values.)
Reviewed-by: Jan Ekström <jeebjp@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/imcdata.h')
0 files changed, 0 insertions, 0 deletions