1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +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-02-07 13:36:57 -03:00
2020-02-07 13:36:57 -03:00
2020-04-10 12:22:09 +02:00
2020-02-19 20:48:49 +11:00
2019-08-11 19:13:21 +02: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
2019-11-13 09:08:43 -08:00
2020-02-22 00:15:43 +01:00
2019-12-05 20:20:05 +01:00
2020-03-22 11:55:44 -03:00
2020-01-22 21:50:49 +01:00
2020-03-17 16:07:25 +01:00
2020-03-31 20:12:15 +02:00
2019-08-29 21:04:54 +02:00
2019-11-28 10:21:20 -03:00
2020-04-16 15:05:07 -03:00
2020-02-04 11:35:02 +01:00
2019-08-11 19:13:21 +02:00
2020-03-17 22:46:36 +01:00
2019-12-10 16:09:14 +01:00
2020-01-11 23:31:18 +01:00
2020-04-17 19:34:02 +10:00
2019-11-25 00:07:07 +01:00
2019-09-02 13:46:11 -07:00
2020-03-17 22:46:36 +01:00
2020-04-16 15:05:07 -03:00
2019-12-14 09:49:58 +01:00
2019-10-22 10:51:42 +08:00
2020-02-19 22:37:30 +01:00
2020-01-30 19:57:25 +01:00
2019-08-23 22:24:07 +02:00
2020-04-04 23:26:15 +02:00
2020-04-04 23:26:15 +02:00
2019-12-31 18:43:50 +01:00
2019-09-20 23:26:34 +02:00
2020-01-13 23:26:25 +00:00
2019-09-16 21:30:19 +02:00
2019-11-09 17:59:03 +01:00
2019-07-28 22:34:26 +01:00
2020-01-11 23:31:18 +01:00
2020-04-17 19:33:43 +10:00
2019-10-25 00:22:33 +02:00
2019-08-22 18:35:44 +02:00
2019-09-05 19:45:53 +02:00
2020-04-16 15:05:07 -03:00
2020-03-22 11:55:44 -03:00