diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-09-27 21:30:37 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-09-27 21:32:47 +0400 |
commit | bc66827fb1db24796cd1898f4e7dd7407a8c0aca (patch) | |
tree | e9131e2eb8ceebe44066e3f8848e7cf94eab7c6d /libavformat/nutenc.c | |
parent | 6c5b0517e00fc22753c5cc0751cba186dd71ed36 (diff) |
nutenc: const correctness for ff_put_v_trace/put_s_trace function arguments
Diffstat (limited to 'libavformat/nutenc.c')
-rw-r--r-- | libavformat/nutenc.c | 8 |
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); |