1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-09 14:14:39 +02:00
FFmpeg/libavfilter
Andreas Rheinhardt 0963be71ec avfilter/formats: Remove pointless checks
ff_formats_ref() takes a pointer to an AVFilterFormats and a pointer to
a pointer to an AVFilterFormats as arguments and adds the latter as an
owner to the list pointed to by the former; the latter is hereby always
the address of a list contained in an AVFilterFormatsConfig and can
therefore not be NULL. So remove the check for whether it is NULL; also
do the same for ff_channel_layouts_ref().

Also do the same for the unref functions where argument is never NULL
because it is always the address of an existing lvalue.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-09-11 14:53:06 +02:00
..
2020-02-14 09:59:27 +01:00
2019-10-01 14:55:43 +02:00
2019-05-14 15:17:14 +02:00
2020-04-30 12:18:36 +02:00
2019-12-10 16:09:14 +01:00
2020-08-23 10:40:55 +02:00
2020-03-17 22:46:36 +01:00
2018-11-15 14:44:24 +01:00
2020-09-04 19:37:29 +02:00
2020-02-14 21:49:47 +01:00
2019-10-23 12:37:46 +02:00
2019-09-30 16:39:39 +02:00
2020-02-04 18:28:04 +01:00
2020-07-08 15:23:43 +02:00
2019-07-28 22:34:33 +01:00
2020-02-29 22:31:01 +01:00
2019-10-01 14:55:43 +02:00
2020-05-30 18:04:14 +02:00
2020-03-17 22:46:36 +01:00
2019-09-26 08:10:31 +08:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2019-04-20 00:20:07 +02:00
2020-03-17 22:46:36 +01:00
2019-10-18 21:57:20 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-02-04 18:28:04 +01:00
2019-10-20 18:06:26 +02:00
2020-05-23 15:52:27 +02:00
2020-04-18 12:34:49 +02:00
2020-03-17 22:46:36 +01:00