1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00
FFmpeg/libavcodec
Andreas Rheinhardt 6b0c94780d 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>
2020-04-23 19:42:03 +02:00
..
2020-04-10 12:22:09 +02:00
2020-02-19 20:48:49 +11:00
2020-03-12 20:26:48 +00:00
2020-03-12 20:26:48 +00:00
2020-03-12 20:26:48 +00:00
2020-02-22 00:15:43 +01:00
2020-03-22 11:55:44 -03:00
2020-03-17 16:07:25 +01:00
2020-03-31 20:12:15 +02:00
2020-04-16 15:05:07 -03:00
2020-03-17 22:46:36 +01:00
2020-04-17 19:34:02 +10:00
2020-03-17 22:46:36 +01:00
2020-04-16 15:05:07 -03:00
2020-02-19 22:37:30 +01:00
2020-04-04 23:26:15 +02:00
2020-04-04 23:26:15 +02:00
2020-04-17 19:33:43 +10:00
2020-04-16 15:05:07 -03:00
2020-03-22 11:55:44 -03:00