Andreas Rheinhardt
7e8306dd2d
avcodec/gdv: Remove dead check
...
At the end of its decode function, the decoder sets *got_frame to 1 and
then checks whether ret is < 0; if so, it is returned, otherwise
avpkt->size is. But it is impossible for ret to be < 0 here and if it
were, it would be nonsense to set *got_frame to 1 before this. Therefore
just return avpkt->size unconditionally.
Fixes Coverity issue #1439730 .
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-11-10 02:14:29 +01:00
..
2020-10-18 21:27:23 +02:00
2020-10-28 13:53:23 +01:00
2020-09-18 02:52:15 +02:00
2020-09-18 02:52:04 +02:00
2020-10-26 12:25:28 +10:00
2020-11-09 14:58:37 +10:00
2020-10-17 09:36:07 +10:00
2020-11-09 14:58:38 +10:00
2020-09-18 11:34:11 +02:00
2020-09-18 02:50:34 +02:00
2020-11-09 14:58:38 +10:00
2020-10-11 19:59:24 +02:00
2020-11-08 19:05:17 +00:00
2020-11-08 19:05:17 +00:00
2020-11-08 19:05:17 +00:00
2020-11-08 19:05:17 +00:00
2020-10-15 22:53:56 +02:00
2020-10-12 12:20:26 +02:00
2020-09-27 09:56:13 +02:00
2020-10-18 15:29:34 +02:00
2020-10-18 15:29:34 +02:00
2020-10-18 15:29:34 +02:00
2020-10-18 15:29:34 +02:00
2020-09-18 02:50:48 +02:00
2020-10-27 10:31:16 +01:00
2020-10-27 10:19:38 +01:00
2020-10-27 10:32:16 +01:00
2020-09-12 13:10:16 -03:00
2020-11-02 22:57:23 +00:00
2020-10-28 11:26:25 -03:00
2020-10-10 01:15:49 -03:00
2020-09-15 09:53:39 -03:00
2020-09-15 19:25:26 +02:00
2020-10-06 00:01:34 +08:00
2020-10-05 23:10:13 +08:00
2020-10-05 23:10:13 +08:00
2020-10-28 13:53:23 +01:00
2020-09-26 20:38:30 +02:00
2020-09-17 00:09:07 +02:00
2020-10-28 11:26:25 -03:00
2020-10-12 17:54:52 +02:00
2020-10-28 11:26:25 -03:00
2020-09-29 21:38:27 -03:00
2020-09-29 21:38:27 -03:00
2020-09-29 21:38:27 -03:00
2020-09-29 21:38:27 -03:00
2020-09-29 21:38:27 -03:00
2020-09-13 16:05:01 +02:00
2020-10-10 13:08:24 +02:00
2020-09-23 23:04:36 +02:00
2020-09-14 15:11:27 +02:00
2020-10-29 11:22:35 +01:00
2020-10-29 11:22:35 +01:00
2020-09-18 02:51:31 +02:00
2020-10-28 11:59:35 -03:00
2020-10-28 11:59:35 -03:00
2020-10-07 22:16:09 +02:00
2020-10-07 22:16:09 +02:00
2020-11-08 18:54:42 +00:00
2020-10-17 14:36:11 +02:00
2020-10-20 15:33:13 +02:00
2020-09-13 05:03:44 +02:00
2020-11-08 18:54:42 +00:00
2020-10-20 15:33:13 +02:00
2020-10-26 09:10:49 +01:00
2020-09-26 20:38:30 +02:00
2020-09-15 19:25:26 +02:00
2020-10-28 13:53:23 +01:00
2020-10-04 23:36:50 +02:00
2020-09-18 02:51:40 +02:00
2020-10-04 16:54:11 +02:00
2020-09-18 02:52:15 +02:00
2020-09-18 02:52:32 +02:00
2020-10-20 15:33:13 +02:00
2020-09-11 14:38:18 +02:00
2020-09-17 00:09:08 +02:00
2020-09-17 00:09:08 +02:00
2020-09-18 02:52:45 +02:00
2020-10-24 19:11:12 +02:00
2020-09-19 18:45:30 +02:00
2020-09-19 18:39:58 +02:00
2020-10-28 13:53:23 +01:00
2020-09-26 21:10:45 +02:00
2020-10-11 19:59:24 +02:00
2020-09-19 18:46:45 +02:00
2020-11-10 02:14:29 +01:00
2020-09-15 19:25:26 +02:00
2020-10-28 13:53:23 +01:00
2020-11-08 18:54:42 +00:00
2020-10-11 19:59:24 +02:00
2020-10-18 21:27:23 +02:00
2020-10-20 15:33:13 +02:00
2020-09-15 19:25:26 +02:00
2020-10-17 14:36:11 +02:00
2020-10-15 22:53:56 +02:00
2020-10-28 11:29:09 +08:00
2020-09-19 18:47:01 +02:00
2020-09-19 18:47:05 +02:00
2020-11-02 22:57:23 +00:00
2020-10-24 16:50:29 +02:00
2020-10-12 22:06:28 +02:00
2020-09-19 18:47:27 +02:00
2020-09-15 19:25:26 +02:00
2020-10-28 13:53:23 +01:00
2020-09-24 13:33:29 +02:00
2020-10-28 13:53:23 +01:00
2020-10-12 22:38:40 +02:00
2020-09-19 18:47:39 +02:00
2020-10-28 13:53:23 +01:00
2020-10-07 22:16:35 +02:00
2020-10-28 11:55:53 -03:00
2020-10-06 00:01:33 +08:00
2020-10-01 22:42:37 -03:00
2020-09-19 18:47:54 +02:00
2020-11-03 00:46:59 +01:00
2020-10-09 01:17:02 +02:00
2020-11-02 22:57:23 +00:00
2020-10-12 02:10:41 +02:00
2020-11-08 18:54:42 +00:00
2020-11-03 16:21:10 +01:00
2020-10-09 01:17:02 +02:00
2020-10-28 13:53:23 +01:00
2020-09-15 19:25:26 +02:00
2020-11-08 18:54:42 +00:00
2020-10-26 07:56:51 +01:00
2020-09-15 19:25:26 +02:00
2020-10-19 05:15:00 +02:00
2020-10-19 21:45:22 +02:00
2020-09-15 22:14:43 +02:00
2020-09-15 22:14:43 +02:00
2020-11-03 16:21:10 +01:00
2020-09-12 15:27:34 +02:00
2020-10-28 13:53:23 +01:00
2020-10-27 10:33:11 +01:00
2020-10-28 13:53:23 +01:00
2020-10-12 02:00:08 +02:00
2020-10-12 02:10:41 +02:00
2020-10-18 20:42:21 +02:00
2020-10-28 13:53:23 +01:00
2020-10-12 02:00:08 +02:00
2020-09-19 18:52:41 +02:00
2020-09-19 18:52:41 +02:00
2020-09-19 18:52:41 +02:00
2020-09-28 11:33:36 +02:00
2020-10-28 13:53:23 +01:00
2020-10-28 13:53:23 +01:00
2020-11-06 13:57:49 +01:00
2020-10-17 14:36:11 +02:00
2020-10-20 17:18:11 +02:00
2020-10-21 18:17:08 +02:00
2020-10-21 18:17:08 +02:00
2020-11-08 18:54:42 +00:00
2020-11-08 18:54:42 +00:00
2020-10-21 07:51:05 +02:00
2020-10-21 07:47:55 +02:00
2020-10-21 07:47:55 +02:00
2020-10-01 22:43:03 -03:00
2020-10-01 11:16:17 +02:00
2020-10-01 11:16:17 +02:00
2020-10-01 11:16:17 +02:00
2020-09-15 09:53:39 -03:00
2020-09-15 09:53:39 -03:00
2020-10-10 01:15:49 -03:00
2020-09-17 00:09:08 +02:00
2020-09-17 00:09:08 +02:00
2020-09-17 00:09:08 +02:00
2020-10-25 09:47:37 +01:00
2020-10-18 20:42:21 +02:00
2020-09-16 15:22:54 +02:00
2020-09-28 11:33:36 +02:00
2020-10-28 13:53:23 +01:00
2020-10-05 00:48:47 +02:00
2020-09-26 23:42:39 +08:00
2020-11-08 18:54:42 +00:00
2020-11-08 18:54:42 +00:00
2020-11-08 18:54:42 +00:00
2020-11-08 18:54:42 +00:00
2020-09-17 00:09:08 +02:00
2020-09-17 00:09:08 +02:00
2020-09-17 00:09:08 +02:00
2020-10-12 12:19:29 +02:00
2020-11-08 18:54:42 +00:00
2020-09-17 00:09:08 +02:00
2020-10-28 13:53:23 +01:00
2020-10-26 07:16:10 +01:00
2020-10-26 07:16:10 +01:00
2020-10-10 20:59:05 +02:00
2020-10-10 20:59:05 +02:00
2020-10-17 14:36:11 +02:00
2020-09-14 15:11:02 +02:00
2020-11-06 13:57:49 +01:00
2020-10-12 22:35:40 +02:00
2020-09-17 19:23:11 +02:00
2020-10-28 13:53:23 +01:00
2020-09-17 00:09:08 +02:00
2020-10-10 13:08:24 +02:00
2020-09-11 10:36:57 -03:00
2020-10-11 19:59:24 +02:00
2020-11-06 13:57:49 +01:00
2020-11-03 16:21:10 +01:00
2020-11-09 15:57:56 -03:00
2020-09-26 21:10:45 +02:00
2020-09-26 21:10:45 +02:00
2020-09-26 21:10:45 +02:00
2020-09-26 17:37:51 -04:00
2020-10-16 00:29:06 +02:00
2020-10-16 00:29:06 +02:00
2020-11-02 22:57:23 +00:00
2020-11-02 22:57:23 +00:00
2020-11-03 20:35:39 +00:00
2020-11-03 20:36:14 +00:00
2020-11-03 20:36:44 +00:00
2020-11-08 18:54:42 +00:00
2020-11-08 18:54:42 +00:00
2020-09-17 00:09:08 +02:00
2020-09-17 00:09:08 +02:00
2020-10-02 14:59:53 +02:00
2020-10-28 13:53:23 +01:00
2020-11-02 22:57:23 +00:00
2020-09-28 21:48:23 -04:00
2020-10-12 22:20:37 +02:00
2020-10-29 11:22:35 +01:00
2020-10-21 06:53:41 +02:00
2020-10-21 06:53:41 +02:00
2020-09-23 13:47:36 -04:00
2020-10-11 02:11:32 +02:00
2020-10-24 19:11:12 +02:00
2020-10-27 11:51:01 +01:00
2020-10-23 10:37:04 +02:00
2020-10-23 10:37:04 +02:00
2020-10-28 13:53:23 +01:00
2020-10-28 13:53:23 +01:00
2020-10-28 13:53:23 +01:00
2020-10-28 13:53:23 +01:00
2020-10-28 13:53:23 +01:00
2020-10-16 00:38:50 +02:00