summaryrefslogtreecommitdiff
path: root/libavcodec/golomb.h
diff options
context:
space:
mode:
authorLoïc Le Loarer <lll+ffmpeg@m4x.org>2005-01-19 12:58:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-01-19 12:58:34 +0000
commit61f040dd1abe37da2e365d26909ce48c6644bf1a (patch)
treecf293d66eac443b3e044fa4a45be84f72d057ad7 /libavcodec/golomb.h
parentb6663a557309ac887b0c5cb9a1d3ce5a73686d5c (diff)
compile with TRACE define patch by (Loic <lll+ffmpeg m4x org>)
Originally committed as revision 3848 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/golomb.h')
-rw-r--r--libavcodec/golomb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h
index f8b144a531..fdf97bc740 100644
--- a/libavcodec/golomb.h
+++ b/libavcodec/golomb.h
@@ -283,7 +283,7 @@ static inline int get_sr_golomb_flac(GetBitContext *gb, int k, int limit, int es
#ifdef TRACE
-static inline int get_ue(GetBitContext *s, char *file, char *func, int line){
+static inline int get_ue(GetBitContext *s, char *file, const char *func, int line){
int show= show_bits(s, 24);
int pos= get_bits_count(s);
int i= get_ue_golomb(s);
@@ -297,7 +297,7 @@ static inline int get_ue(GetBitContext *s, char *file, char *func, int line){
return i;
}
-static inline int get_se(GetBitContext *s, char *file, char *func, int line){
+static inline int get_se(GetBitContext *s, char *file, const char *func, int line){
int show= show_bits(s, 24);
int pos= get_bits_count(s);
int i= get_se_golomb(s);
@@ -311,7 +311,7 @@ static inline int get_se(GetBitContext *s, char *file, char *func, int line){
return i;
}
-static inline int get_te(GetBitContext *s, int r, char *file, char *func, int line){
+static inline int get_te(GetBitContext *s, int r, char *file, const char *func, int line){
int show= show_bits(s, 24);
int pos= get_bits_count(s);
int i= get_te0_golomb(s, r);