OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2146f49
)
avfilter: Surround function only used in debug mode by appropriate #ifdef.
author
Diego Biurrun
<diego@biurrun.de>
Fri, 27 May 2011 18:24:44 +0000
(20:24 +0200)
committer
Diego Biurrun
<diego@biurrun.de>
Sun, 29 May 2011 11:43:03 +0000
(13:43 +0200)
This fixes the warning:
libavfilter/avfilter.c:219: warning: ‘ff_get_ref_perms_string’ defined but not used
libavfilter/avfilter.c
patch
|
blob
|
history
diff --git
a/libavfilter/avfilter.c
b/libavfilter/avfilter.c
index
0291503
..
abeae14
100644
(file)
--- 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)
{