mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 10:22:10 +00:00
lavu/dict: don't accept AV_DICT_DONT_STRDUP_VAL for av_dict_set_int
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f669d8c1b7
commit
08d0dbf2ae
@ -141,6 +141,7 @@ int av_dict_set_int(AVDictionary **pm, const char *key, int64_t value,
|
||||
{
|
||||
char valuestr[22];
|
||||
snprintf(valuestr, sizeof(valuestr), "%"PRId64, value);
|
||||
flags &= ~AV_DICT_DONT_STRDUP_VAL;
|
||||
return av_dict_set(pm, key, valuestr, flags);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user