[libav-commits] nutdec: Remove unused and broken debug function stub

Diego Biurrun git at libav.org
Thu Sep 27 12:10:12 CEST 2012


Module: libav
Branch: master
Commit: 83655442fa6dbf7578d108ce479f98a14ebb3e3c

Author:    Diego Biurrun <diego at biurrun.de>
Committer: Diego Biurrun <diego at biurrun.de>
Date:      Tue Sep 25 19:01:10 2012 +0200

nutdec: Remove unused and broken debug function stub

---

 libavformat/nutdec.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 2013bc8..2d2c743 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -96,18 +96,8 @@ static inline int64_t get_s_trace(AVIOContext *bc, const char *file,
     return v;
 }
 
-static inline uint64_t get_vb_trace(AVIOContext *bc, char *file,
-                                    char *func, int line)
-{
-    uint64_t v = get_vb(bc);
-
-    av_log(NULL, AV_LOG_DEBUG, "get_vb %5"PRId64" / %"PRIX64" in %s %s:%d\n",
-           v, v, file, func, line);
-    return v;
-}
 #define ffio_read_varlen(bc) get_v_trace(bc,  __FILE__, __PRETTY_FUNCTION__, __LINE__)
 #define get_s(bc)            get_s_trace(bc,  __FILE__, __PRETTY_FUNCTION__, __LINE__)
-#define get_vb(bc)           get_vb_trace(bc, __FILE__, __PRETTY_FUNCTION__, __LINE__)
 #endif
 
 static int get_packetheader(NUTContext *nut, AVIOContext *bc,



More information about the libav-commits mailing list