Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-12 18:52:18 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-14 22:48:48 +0300
commite10774a8cc539e166d4e5849fef4d9f86efbfa8d (patch)
treef166899526d0519c27a5dbf4de710b5d0209d0a7 /libavfilter/avfilter.c
parentf4af504a1ff2561c9980a61ec2394841f35911df (diff)
avfilter/avfilter: #if ff_tlog_link() away when empty
It is currently calling av_channel_layout_describe() unnecessarily. Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index bde41637dd..f34204e650 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -381,6 +381,7 @@ int avfilter_config_links(AVFilterContext *filter)
return 0;
}
+#ifdef TRACE
void ff_tlog_link(void *ctx, AVFilterLink *link, int end)
{
if (link->type == AVMEDIA_TYPE_VIDEO) {
@@ -404,6 +405,7 @@ void ff_tlog_link(void *ctx, AVFilterLink *link, int end)
end ? "\n" : "");
}
}
+#endif
int ff_request_frame(AVFilterLink *link)
{