Browse Source

nutdec: const correctness for get_v_trace/get_s_trace function arguments

tags/n1.0
Diego Biurrun 12 years ago
parent
commit
93e81ee81c
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      libavformat/nutdec.c

+ 4
- 4
libavformat/nutdec.c View File

@@ -76,8 +76,8 @@ static uint64_t get_fourcc(AVIOContext *bc)
} }


#ifdef TRACE #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); uint64_t v = ffio_read_varlen(bc);


@@ -86,8 +86,8 @@ static inline uint64_t get_v_trace(AVIOContext *bc, char *file,
return v; 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); int64_t v = get_s(bc);




Loading…
Cancel
Save