Commit 62144b22 authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde

avfilter/internal: Doxygen for ff_fmt_is_in

This clarifies and adds Doxygen for ff_fmt_is_in.
Reviewed-by: 's avatarTimothy Gu <timothygu99@gmail.com>
Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent 7303962f
......@@ -152,7 +152,15 @@ struct AVFilterInternal {
avfilter_execute_func *execute;
};
/** Tell is a format is contained in the provided list terminated by -1. */
/**
* Tell if an integer is contained in the provided -1-terminated list of integers.
* This is useful for determining (for instance) if an AVPixelFormat is in an
* array of supported formats.
*
* @param fmt provided format
* @param fmts -1-terminated list of formats
* @return 1 if present, 0 if absent
*/
int ff_fmt_is_in(int fmt, const int *fmts);
/* Functions to parse audio format arguments */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment