aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/internal.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-08-15 22:00:50 +0200
committerAnton Khirnov <anton@khirnov.net>2024-08-19 21:45:25 +0200
commitf4bfdf789335e690dd92c9ee85974c338429103a (patch)
tree75811022759791ef0f97dee7fcd30f1df0063cc5 /libavfilter/internal.h
parent1afe42852b25c6bf74f1f5b5f6d6dfa42da02434 (diff)
downloadffmpeg-f4bfdf789335e690dd92c9ee85974c338429103a.tar.gz
lavfi: move ff_parse_pixel_format() to vf_format, its only caller
The only thing this function does beyond calling av_get_pix_fmt() is falling back onto parsing the argument as a number. No other filters should need to do this.
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r--libavfilter/internal.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index 4938612593..343bc0b330 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -36,17 +36,6 @@ int ff_fmt_is_regular_yuv(enum AVPixelFormat fmt);
/* Functions to parse audio format arguments */
/**
- * Parse a pixel format.
- *
- * @param ret pixel format pointer to where the value should be written
- * @param arg string to parse
- * @param log_ctx log context
- * @return >= 0 in case of success, a negative AVERROR code on error
- */
-av_warn_unused_result
-int ff_parse_pixel_format(enum AVPixelFormat *ret, const char *arg, void *log_ctx);
-
-/**
* Parse a sample rate.
*
* @param ret unsigned integer pointer to where the value should be written