diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-09-25 21:02:42 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-09-26 21:10:13 +0400 |
commit | 93e81ee81c33e74e6047053f6086d63d2f8293d4 (patch) | |
tree | fa5cc28b2ade340804486a2ff7ea782f8d9af8ba /libavformat/nutdec.c | |
parent | 2dc1310484ef9e48080cc83426904470c444947a (diff) |
nutdec: const correctness for get_v_trace/get_s_trace function arguments
Diffstat (limited to 'libavformat/nutdec.c')
-rw-r--r-- | libavformat/nutdec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index da438ad127..2013bc83b4 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -76,8 +76,8 @@ static uint64_t get_fourcc(AVIOContext *bc) } #ifdef TRACE -static inline uint64_t get_v_trace(AVIOContext *bc, char *file, - char *func, int line) +static inline uint64_t get_v_trace(AVIOContext *bc, const char *file, + const char *func, int line) { uint64_t v = ffio_read_varlen(bc); @@ -86,8 +86,8 @@ static inline uint64_t get_v_trace(AVIOContext *bc, char *file, return v; } -static inline int64_t get_s_trace(AVIOContext *bc, char *file, - char *func, int line) +static inline int64_t get_s_trace(AVIOContext *bc, const char *file, + const char *func, int line) { int64_t v = get_s(bc); |