1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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

This commit is contained in:
Diego Biurrun 2012-09-25 19:04:47 +02:00
parent e00215040a
commit 80412997c8

View File

@ -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);