On date Friday 2011-05-27 20:37:08 +0200, Diego Biurrun encoded:
> This fixes the warning:
> libavfilter/avfilter.c:219: warning: ‘ff_get_ref_perms_string’ defined but
> not used
> ---
> libavfilter/avfilter.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
> index 0291503..abeae14 100644
> --- a/libavfilter/avfilter.c
> +++ b/libavfilter/avfilter.c
> @@ -215,6 +215,7 @@ int avfilter_config_links(AVFilterContext *filter)
> return 0;
> }
>
> +#ifdef DEBUG
> static char *ff_get_ref_perms_string(char *buf, size_t buf_size, int perms)
> {
> snprintf(buf, buf_size, "%s%s%s%s%s%s",
> @@ -226,6 +227,7 @@ static char *ff_get_ref_perms_string(char *buf, size_t
> buf_size, int perms)
> perms & AV_PERM_NEG_LINESIZES ? "n" : "");
> return buf;
> }
> +#endif
Looks fine.
--
Fortune finishes the great quotations, #2
If at first you don't succeed, think how many people
you've made happy.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel