diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-24 13:21:04 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-24 13:21:04 +0100 |
commit | bb9fdd9f616fa71f11fe40413a8a7bac178c057e (patch) | |
tree | 641fad951388cc8f99a3da17eec9cf5d61d4564d /libavformat/nutenc.c | |
parent | 50a06c841f05f8441f1a805f96059ba433108d85 (diff) | |
parent | 07eea5a5ded1141632aefecfa59dcdc26de2d7ea (diff) | |
download | ffmpeg-bb9fdd9f616fa71f11fe40413a8a7bac178c057e.tar.gz |
Merge commit '07eea5a5ded1141632aefecfa59dcdc26de2d7ea'
* commit '07eea5a5ded1141632aefecfa59dcdc26de2d7ea':
nut: Drop pointless TRACE level debug code
Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavformat/nutenc.c')
-rw-r--r-- | libavformat/nutenc.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c index 9e422e1aa8..a92ff55c01 100644 --- a/libavformat/nutenc.c +++ b/libavformat/nutenc.c @@ -299,25 +299,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) |