1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavfilter
Andreas Rheinhardt 99feb59cf7 avfilter/formats: Make ff_formats_pixdesc_filter return AVFilterFormats*
Up until now, it has returned the AVFilterFormats list via
an AVFilterFormats** parameter; the actual return value was an int
that was always AVERROR(ENOMEM) on error. The AVFilterFormats**
argument was a pure output parameter which was only documented
by naming the parameter rfmts. Yet nevertheless all callers
initialized the underlying AVFilterFormats* to NULL.

This commit changes this to return a pointer to AVFilterFormats
directly. This is more in line with the API in general, as it
allows to avoid checks for intermediate values.

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-26 12:41:33 +02:00
..
2021-04-19 14:34:10 +02:00
2021-08-28 18:51:04 +02:00
2021-08-21 16:11:11 +02:00
2021-01-17 12:06:01 +01:00
2021-01-17 12:06:01 +01:00
2021-07-22 14:47:57 +02:00
2021-09-19 04:07:48 +02:00
2021-09-19 04:26:00 +02:00
2021-04-11 23:18:20 +08:00
2021-09-19 04:26:07 +02:00