summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-08-30 01:41:43 -0300
committerJames Almer <jamrial@gmail.com>2017-09-01 14:06:14 -0300
commit3ec6d9c6b2975c993d772936cb37fa075292cd92 (patch)
tree275e98f6081ef6458cadcdf5ec9bcae3a8f15bfe /libavfilter
parent5d76674756806e3b458e484788775fcee34aac2a (diff)
avfilter: remove duplicate and disabled trace log function
It's already defined and actually enabled depending on compiler options elsewhere. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/internal.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index 2ff75aa778..f9679ed1d7 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -33,6 +33,7 @@
#include "version.h"
#include "video.h"
#include "libavcodec/avcodec.h"
+#include "libavcodec/internal.h"
typedef struct AVFilterCommand {
double time; ///< time expressed in seconds
@@ -246,14 +247,6 @@ void ff_command_queue_pop(AVFilterContext *filter);
/* misc trace functions */
-/* #define FF_AVFILTER_TRACE */
-
-#ifdef FF_AVFILTER_TRACE
-# define ff_tlog(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__)
-#else
-# define ff_tlog(pctx, ...) do { if (0) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0)
-#endif
-
#define FF_TPRINTF_START(ctx, func) ff_tlog(NULL, "%-16s: ", #func)
char *ff_get_ref_perms_string(char *buf, size_t buf_size, int perms);