diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-05-27 20:24:44 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-05-29 13:43:03 +0200 |
commit | d6e0729b24de566a80554abbdf0aca1ed24de14b (patch) | |
tree | 49b04cacad513f3d1dba0e5bce151adaf17c2b09 /libavfilter | |
parent | 2146f4928a45b37eba781a74aa8cc9ae50e89d52 (diff) | |
download | ffmpeg-d6e0729b24de566a80554abbdf0aca1ed24de14b.tar.gz |
avfilter: Surround function only used in debug mode by appropriate #ifdef.
This fixes the warning:
libavfilter/avfilter.c:219: warning: ‘ff_get_ref_perms_string’ defined but not used
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfilter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 02915036ab..abeae14f79 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 static void ff_dlog_ref(void *ctx, AVFilterBufferRef *ref, int end) { |