summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-09-27 19:30:37 +0200
committerDiego Biurrun <diego@biurrun.de>2012-09-27 19:32:47 +0200
commitbc66827fb1db24796cd1898f4e7dd7407a8c0aca (patch)
treee9131e2eb8ceebe44066e3f8848e7cf94eab7c6d /libavformat
parent6c5b0517e00fc22753c5cc0751cba186dd71ed36 (diff)
downloadffmpeg-bc66827fb1db24796cd1898f4e7dd7407a8c0aca.tar.gz
nutenc: const correctness for ff_put_v_trace/put_s_trace function arguments
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/nutenc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index df0301b5e7..29b6dcdaab 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -263,13 +263,17 @@ static void put_s(AVIOContext *bc, int64_t val){
}
#ifdef TRACE
-static inline void ff_put_v_trace(AVIOContext *bc, uint64_t v, char *file, char *func, int line){
+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, char *file, char *func, int line){
+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);