summaryrefslogtreecommitdiff
path: root/libavcodec/golomb.h
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-09-25 19:04:47 +0200
committerDiego Biurrun <diego@biurrun.de>2012-09-27 19:10:10 +0200
commit80412997c868a700fe25eb41ded1c98e80a15164 (patch)
tree0e58e750aaca9b86682ea7487f14319b122cc831 /libavcodec/golomb.h
parente00215040ae212522455b55a7bce46c882d43947 (diff)
downloadffmpeg-80412997c868a700fe25eb41ded1c98e80a15164.tar.gz
golomb: const correctness for get_ue()/get_se() function arguments
Diffstat (limited to 'libavcodec/golomb.h')
-rw-r--r--libavcodec/golomb.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h
index b6b8cc8412..3fdec0baec 100644
--- a/libavcodec/golomb.h
+++ b/libavcodec/golomb.h
@@ -372,7 +372,9 @@ static inline int get_sr_golomb_shorten(GetBitContext* gb, int k)
#ifdef TRACE
-static inline int get_ue(GetBitContext *s, char *file, const char *func, int line){
+static inline int get_ue(GetBitContext *s, const 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);
@@ -386,7 +388,9 @@ static inline int get_ue(GetBitContext *s, char *file, const char *func, int lin
return i;
}
-static inline int get_se(GetBitContext *s, char *file, const char *func, int line){
+static inline int get_se(GetBitContext *s, const 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);