summaryrefslogtreecommitdiff
path: root/libavformat/nutenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2015-12-11 18:58:12 +0100
committerDiego Biurrun <diego@biurrun.de>2016-10-27 12:54:07 +0200
commit07eea5a5ded1141632aefecfa59dcdc26de2d7ea (patch)
tree5e5ebe2311ba09a6eeb68292d9c12d5dcda1e0ec /libavformat/nutenc.c
parentc3dad1bf3b5e04e01c291b1ac41e6bef0adf2206 (diff)
downloadffmpeg-07eea5a5ded1141632aefecfa59dcdc26de2d7ea.tar.gz
nut: Drop pointless TRACE level debug code
The code has little usefulness and uses the __PRETTY_FUNCTION__ GNU extension.
Diffstat (limited to 'libavformat/nutenc.c')
-rw-r--r--libavformat/nutenc.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index bf23b58a3b..3c824a600d 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -285,26 +285,6 @@ static void put_s(AVIOContext *bc, int64_t val)
ff_put_v(bc, 2 * FFABS(val) - (val > 0));
}
-#ifdef TRACE
-static inline void ff_put_v_trace(AVIOContext *bc, uint64_t v, const char *file,
- const char *func, int line)
-{
- av_log(NULL, AV_LOG_DEBUG, "ff_put_v %5"PRId64" / %"PRIX64" in %s %s:%d\n", v, v, file, func, line);
-
- ff_put_v(bc, v);
-}
-
-static inline void put_s_trace(AVIOContext *bc, int64_t v, const char *file,
- const char *func, int line)
-{
- av_log(NULL, AV_LOG_DEBUG, "put_s %5"PRId64" / %"PRIX64" in %s %s:%d\n", v, v, file, func, line);
-
- put_s(bc, v);
-}
-#define ff_put_v(bc, v) ff_put_v_trace(bc, v, __FILE__, __PRETTY_FUNCTION__, __LINE__)
-#define put_s(bc, v) put_s_trace(bc, v, __FILE__, __PRETTY_FUNCTION__, __LINE__)
-#endif
-
//FIXME remove calculate_checksum
static void put_packet(NUTContext *nut, AVIOContext *bc, AVIOContext *dyn_bc,
int calculate_checksum, uint64_t startcode)