Andreas Rheinhardt
85685297c2
avcodec/cbs: Remove redundant checks for CodedBitstreamContext.codec
...
Setting this field happens immediately after the allocation in
ff_cbs_init(), so the whole CBS code may presume that any
CodedBitstreamContext has this set. Lots of code already presumed this,
yet ff_cbs_close() did it inconsistently: It checked before checking
whether the CodedBitstreamType has a close function; yet it simply
unconditionally read ctx->codec->priv_class. Coverity complained about
this in issue #1473564 , which this commit fixes.
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2021-03-12 23:21:35 +01:00
..
2021-02-26 19:26:31 -03:00
2021-02-26 19:26:31 -03:00
2021-03-08 09:29:50 +01:00
2021-02-27 17:09:44 +01:00
2021-03-11 16:06:33 +01:00
2021-03-10 20:26:36 -03:00
2021-02-01 18:02:11 +01:00
2021-02-07 10:28:29 +01:00
2021-02-07 10:28:29 +01:00
2021-03-10 20:26:36 -03:00
2021-02-02 01:47:01 +01:00
2021-02-02 01:47:01 +01:00
2021-02-07 10:30:14 +01:00
2021-02-07 10:30:14 +01:00
2021-02-22 11:12:10 +01:00
2021-02-07 10:30:14 +01:00
2021-02-24 08:47:11 +01:00
2021-02-24 08:47:11 +01:00
2021-02-24 08:56:12 +01:00
2021-02-24 08:56:12 +01:00
2021-02-24 08:57:17 +01:00
2021-02-24 08:57:17 +01:00
2021-03-10 20:26:36 -03:00
2021-03-05 19:45:00 +02:00
2021-03-03 11:40:40 +01:00
2021-03-09 16:14:05 -03:00
2021-02-14 18:59:28 +01:00
2021-02-09 14:18:46 +01:00
2021-03-10 20:26:36 -03:00
2021-03-08 11:34:54 +01:00
2021-03-10 20:26:36 -03:00
2021-02-27 11:21:40 -03:00
2021-03-09 13:41:22 +01:00
2021-02-12 19:50:07 +01:00
2021-02-24 07:50:56 +01:00
2021-02-04 05:17:33 +01:00
2021-02-02 23:53:30 +01:00
2021-02-02 23:53:30 +01:00
2021-03-10 20:26:36 -03:00
2021-03-12 23:21:35 +01:00
2021-02-03 19:11:35 +01:00
2021-02-24 09:40:42 +01:00
2021-01-29 19:36:46 +01:00
2021-02-24 17:14:03 +01:00
2021-02-27 17:09:44 +01:00
2021-02-24 17:14:03 +01:00
2021-03-10 20:26:36 -03:00
2021-03-01 06:10:44 +01:00
2021-03-01 17:36:42 +01:00
2021-03-01 17:36:42 +01:00
2021-03-08 02:42:35 +01:00
2021-02-20 15:44:44 +01:00
2021-02-09 15:01:34 +01:00
2021-02-22 17:59:11 +01:00
2021-01-31 14:37:07 +01:00
2021-02-22 16:54:28 +01:00
2021-03-08 22:08:49 +01:00
2021-03-12 18:29:03 +01:00
2021-02-20 14:46:42 +01:00
2021-01-30 05:14:45 +01:00
2021-01-30 05:14:45 +01:00
2021-01-30 05:14:45 +01:00
2021-01-30 05:14:45 +01:00
2021-02-12 20:43:51 +01:00
2021-03-09 13:41:22 +01:00
2021-02-28 20:11:03 +01:00
2021-02-07 10:30:14 +01:00
2021-02-16 22:11:53 +01:00
2021-03-02 20:53:04 +01:00
2021-03-02 20:53:04 +01:00
2021-03-08 19:19:19 +01:00
2021-01-29 15:38:31 +01:00
2021-01-29 15:38:31 +01:00
2021-02-14 19:55:02 +01:00
2021-02-10 00:03:38 +01:00
2021-03-09 13:41:22 +01:00
2021-03-03 12:49:57 +01:00
2021-02-14 19:55:02 +01:00
2021-02-16 22:11:53 +01:00
2021-02-16 22:11:53 +01:00
2021-02-23 10:14:25 +01:00
2021-02-08 13:27:22 +01:00
2021-03-10 20:26:36 -03:00
2021-03-11 21:41:52 +00:00
2021-03-08 13:25:04 +01:00
2021-02-02 23:53:30 +01:00
2021-02-02 23:53:30 +01:00
2021-03-10 20:26:36 -03:00
2021-03-11 17:57:37 -03:00
2021-03-10 20:26:36 -03:00
2021-02-02 23:53:30 +01:00
2021-02-02 23:53:30 +01:00
2021-03-01 20:19:15 +01:00
2021-03-03 12:41:44 +01:00
2021-02-20 14:16:00 +01:00
2021-02-20 14:16:00 +01:00
2021-02-10 12:28:29 +01:00
2021-03-10 20:26:36 -03:00
2021-02-18 14:11:53 +01:00
2021-02-18 14:11:53 +01:00
2021-03-10 20:26:36 -03:00
2021-03-01 06:10:44 +01:00
2021-02-26 18:29:45 +01:00
2021-03-10 20:26:36 -03:00
2021-02-19 21:15:08 +01:00
2021-03-03 13:10:27 -03:00
2021-03-10 20:26:36 -03:00
2021-02-10 12:28:30 +01:00
2021-02-10 12:28:29 +01:00
2021-03-08 05:04:04 +01:00
2021-02-23 10:14:25 +01:00
2021-02-23 10:14:25 +01:00
2021-03-10 20:26:36 -03:00
2021-02-10 11:52:46 +02:00
2021-03-11 02:02:26 +01:00
2021-01-29 15:49:54 +01:00
2021-03-10 20:26:36 -03:00
2021-02-19 13:54:07 -08:00
2021-02-28 17:52:12 +01:00
2021-03-06 13:05:42 +01:00
2021-02-23 10:14:25 +01:00
2021-03-08 09:31:04 +01:00
2021-03-09 14:00:13 +01:00
2021-03-10 14:09:14 +01:00
2021-02-14 13:38:46 +02:00
2021-02-23 10:14:25 +01:00
2021-03-08 09:29:50 +01:00
2021-02-23 10:14:25 +01:00
2021-02-23 10:14:25 +01:00
2021-02-23 10:14:25 +01:00
2021-02-23 10:14:25 +01:00
2021-02-23 10:14:25 +01:00
2021-03-08 19:19:19 +01:00
2021-03-09 13:41:22 +01:00
2021-02-24 07:50:39 +01:00
2021-02-23 10:14:26 +01:00
2021-03-08 19:22:21 +01:00
2021-03-06 13:05:42 +01:00
2021-02-11 09:07:10 +01:00
2021-03-02 07:32:50 +01:00
2021-02-24 08:53:22 +01:00
2021-02-24 08:53:22 +01:00
2021-03-10 20:26:36 -03:00
2021-01-29 06:28:24 +01:00
2021-01-29 06:28:24 +01:00
2021-01-29 06:28:24 +01:00
2021-01-29 06:28:24 +01:00
2021-01-29 06:28:24 +01:00
2021-03-10 20:26:36 -03:00
2021-03-10 20:26:36 -03:00
2021-02-04 17:26:06 +01:00
2021-03-10 20:26:36 -03:00
2021-02-22 16:35:08 +01:00
2021-02-22 16:35:08 +01:00
2021-03-12 22:11:39 +01:00
2021-03-05 19:45:00 +02:00
2021-02-27 11:23:42 -03:00
2021-03-10 20:26:36 -03:00
2021-03-06 09:33:42 +01:00
2021-02-25 21:51:11 +01:00
2021-03-01 17:36:16 +01:00
2021-03-09 13:41:22 +01:00
2021-03-09 13:41:22 +01:00
2021-02-24 17:16:46 +01:00
2021-03-09 13:41:22 +01:00
2021-02-14 17:23:24 +01:00
2021-02-12 23:42:16 +01:00
2021-02-15 00:01:07 +01:00
2021-02-15 00:01:07 +01:00
2021-02-02 14:29:33 +01:00
2021-03-10 20:26:36 -03:00
2021-03-09 14:00:13 +01:00
2021-03-10 20:26:36 -03:00
2021-02-24 08:53:43 +01:00
2021-02-24 08:53:43 +01:00
2021-03-09 13:41:22 +01:00
2021-03-10 20:26:36 -03:00
2021-03-01 06:04:46 +01:00
2021-03-01 06:07:48 +01:00
2021-03-10 20:26:36 -03:00
2021-02-24 09:52:40 +01:00
2021-02-23 10:14:26 +01:00
2021-02-15 20:52:44 +01:00
2021-03-01 17:36:42 +01:00
2021-02-02 13:12:12 +01:00
2021-02-07 10:28:29 +01:00
2021-02-07 10:28:29 +01:00
2021-02-07 10:28:29 +01:00
2021-02-07 10:28:29 +01:00
2021-02-07 10:28:29 +01:00
2021-02-07 10:28:29 +01:00
2021-01-28 21:06:56 +01:00
2021-03-10 20:26:36 -03:00
2021-03-04 19:09:56 +01:00
2021-03-10 20:26:36 -03:00
2021-03-02 15:06:22 +01:00
2021-02-23 11:30:57 +01:00
2021-03-09 13:41:22 +01:00
2021-03-10 20:26:36 -03:00
2021-03-05 19:45:00 +02:00
2021-03-05 19:45:00 +02:00
2021-03-03 18:05:15 -03:00
2021-03-10 20:26:36 -03:00
2021-01-29 06:28:24 +01:00
2021-02-02 22:34:55 +00:00
2021-03-10 20:26:36 -03:00
2021-01-29 15:49:54 +01:00
2021-01-29 15:49:54 +01:00
2021-01-31 14:37:07 +01:00
2021-03-09 13:41:22 +01:00
2021-02-04 23:34:29 +01:00
2021-01-29 06:28:24 +01:00
2021-02-05 15:49:13 +01:00
2021-02-03 16:03:15 +01:00
2021-03-08 17:37:05 +01:00