Skip to content
Snippets Groups Projects
Commit 80412997 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

golomb: const correctness for get_ue()/get_se() function arguments

parent e0021504
No related branches found
No related tags found
No related merge requests found
...@@ -372,7 +372,9 @@ static inline int get_sr_golomb_shorten(GetBitContext* gb, int k) ...@@ -372,7 +372,9 @@ static inline int get_sr_golomb_shorten(GetBitContext* gb, int k)
#ifdef TRACE #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 show= show_bits(s, 24);
int pos= get_bits_count(s); int pos= get_bits_count(s);
int i= get_ue_golomb(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 ...@@ -386,7 +388,9 @@ static inline int get_ue(GetBitContext *s, char *file, const char *func, int lin
return i; 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 show= show_bits(s, 24);
int pos= get_bits_count(s); int pos= get_bits_count(s);
int i= get_se_golomb(s); int i= get_se_golomb(s);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment