diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-09-25 19:04:47 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-09-27 19:10:10 +0200 |
commit | 80412997c868a700fe25eb41ded1c98e80a15164 (patch) | |
tree | 0e58e750aaca9b86682ea7487f14319b122cc831 /libavcodec | |
parent | e00215040ae212522455b55a7bce46c882d43947 (diff) | |
download | ffmpeg-streaming-80412997c868a700fe25eb41ded1c98e80a15164.zip ffmpeg-streaming-80412997c868a700fe25eb41ded1c98e80a15164.tar.gz |
golomb: const correctness for get_ue()/get_se() function arguments
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/golomb.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h index b6b8cc8..3fdec0b 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); |