diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-09-25 19:03:59 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-09-27 19:10:10 +0200 |
commit | e00215040ae212522455b55a7bce46c882d43947 (patch) | |
tree | 7ee317f49a56d9974b1709b3d007b41de51ea188 /libavcodec | |
parent | 4e5b7f31f7aa7a40ef6d255db2cd65ebab7b74db (diff) | |
download | ffmpeg-streaming-e00215040ae212522455b55a7bce46c882d43947.zip ffmpeg-streaming-e00215040ae212522455b55a7bce46c882d43947.tar.gz |
get_bits: const correctness for get_bits_trace()/get_xbits_trace() arguments
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/get_bits.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h index 64393bc..f91441c 100644 --- a/libavcodec/get_bits.h +++ b/libavcodec/get_bits.h @@ -521,7 +521,7 @@ static inline void print_bin(int bits, int n) av_log(NULL, AV_LOG_DEBUG, " "); } -static inline int get_bits_trace(GetBitContext *s, int n, char *file, +static inline int get_bits_trace(GetBitContext *s, int n, const char *file, const char *func, int line) { int r = get_bits(s, n); @@ -532,7 +532,7 @@ static inline int get_bits_trace(GetBitContext *s, int n, char *file, return r; } static inline int get_vlc_trace(GetBitContext *s, VLC_TYPE (*table)[2], - int bits, int max_depth, char *file, + int bits, int max_depth, const char *file, const char *func, int line) { int show = show_bits(s, 24); @@ -547,7 +547,7 @@ static inline int get_vlc_trace(GetBitContext *s, VLC_TYPE (*table)[2], bits2, len, r, pos, file, func, line); return r; } -static inline int get_xbits_trace(GetBitContext *s, int n, char *file, +static inline int get_xbits_trace(GetBitContext *s, int n, const char *file, const char *func, int line) { int show = show_bits(s, n); |