diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-17 15:55:57 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-23 19:42:03 +0200 |
commit | 6b0c94780d8087772a718bfa8fdcb46b1770b987 (patch) | |
tree | c83b745703521fdb076125e0743802340cb61296 /tools/Makefile | |
parent | ae2537f53e8ebfa36345241b5b70c0b1aef66dd2 (diff) | |
download | ffmpeg-6b0c94780d8087772a718bfa8fdcb46b1770b987.tar.gz |
libavcodec/avpacket: Don't simply forward return value of av_dict_set()
The documentation of av_dict_set() states that values >= 0 indicate
success, whereas av_packet_unpack_dictionary() implies that return
values > 0 are impossible. So only forward the return value of
av_dict_set() in av_packet_unpack_dictionary() on error.
(Btw: av_dict_set() does currently not return values > 0.)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'tools/Makefile')
0 files changed, 0 insertions, 0 deletions