aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libspeexdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-04-17 15:55:57 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-04-23 19:42:03 +0200
commit6b0c94780d8087772a718bfa8fdcb46b1770b987 (patch)
treec83b745703521fdb076125e0743802340cb61296 /libavcodec/libspeexdec.c
parentae2537f53e8ebfa36345241b5b70c0b1aef66dd2 (diff)
downloadffmpeg-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 'libavcodec/libspeexdec.c')
0 files changed, 0 insertions, 0 deletions