diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2015-04-01 20:01:30 +0200 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2015-04-02 23:15:57 +0200 |
commit | a8c5b4551e03085bb8973c7b3c5d0ef55d24de0c (patch) | |
tree | f8459582e93a578512468441bab5bfb79ed6430b /libavutil/mathematics.h | |
parent | b0a2aee4089eea8613e4056d9b1a697159899a18 (diff) | |
download | ffmpeg-a8c5b4551e03085bb8973c7b3c5d0ef55d24de0c.tar.gz |
lavu/dict: fix set function when reuse existing key pointer
Fixes following scenario:
av_dict_set(&d, "key", "old", 0);
AVDictionaryEentry *e = av_dict_get(d, "key", NULL, 0);
av_dict_set(&d, e->key, "new", 0);
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'libavutil/mathematics.h')
0 files changed, 0 insertions, 0 deletions