diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-08-16 01:26:43 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-08-19 21:45:25 +0200 |
commit | a83a30e899099ec76a3570c07ee40b013dbfd409 (patch) | |
tree | f8f313513a62813ce79db386652bf96c0e1a3180 /libavfilter/internal.h | |
parent | f4bfdf789335e690dd92c9ee85974c338429103a (diff) | |
download | ffmpeg-a83a30e899099ec76a3570c07ee40b013dbfd409.tar.gz |
lavfi: move ff_parse_{sample_rate,channel_layout}() to audio.[ch]
That is a more appropriate place for those functions.
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r-- | libavfilter/internal.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h index 343bc0b330..eb312ab485 100644 --- a/libavfilter/internal.h +++ b/libavfilter/internal.h @@ -33,33 +33,6 @@ */ int ff_fmt_is_regular_yuv(enum AVPixelFormat fmt); -/* Functions to parse audio format arguments */ - -/** - * Parse a sample rate. - * - * @param ret unsigned integer 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_sample_rate(int *ret, const char *arg, void *log_ctx); - -/** - * Parse a channel layout or a corresponding integer representation. - * - * @param ret 64bit integer pointer to where the value should be written. - * @param nret integer pointer to the number of channels; - * if not NULL, then unknown channel layouts are accepted - * @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_channel_layout(AVChannelLayout *ret, int *nret, const char *arg, - void *log_ctx); - /** * Negotiate the media format, dimensions, etc of all inputs to a filter. * |