mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
get_bits: const correctness for get_bits_trace()/get_xbits_trace() arguments
This commit is contained in:
parent
4e5b7f31f7
commit
e00215040a
@ -521,7 +521,7 @@ static inline void print_bin(int bits, int n)
|
|||||||
av_log(NULL, AV_LOG_DEBUG, " ");
|
av_log(NULL, AV_LOG_DEBUG, " ");
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline int get_bits_trace(GetBitContext *s, int n, char *file,
|
static inline int get_bits_trace(GetBitContext *s, int n, const char *file,
|
||||||
const char *func, int line)
|
const char *func, int line)
|
||||||
{
|
{
|
||||||
int r = get_bits(s, n);
|
int r = get_bits(s, n);
|
||||||
@ -532,7 +532,7 @@ static inline int get_bits_trace(GetBitContext *s, int n, char *file,
|
|||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
static inline int get_vlc_trace(GetBitContext *s, VLC_TYPE (*table)[2],
|
static inline int get_vlc_trace(GetBitContext *s, VLC_TYPE (*table)[2],
|
||||||
int bits, int max_depth, char *file,
|
int bits, int max_depth, const char *file,
|
||||||
const char *func, int line)
|
const char *func, int line)
|
||||||
{
|
{
|
||||||
int show = show_bits(s, 24);
|
int show = show_bits(s, 24);
|
||||||
@ -547,7 +547,7 @@ static inline int get_vlc_trace(GetBitContext *s, VLC_TYPE (*table)[2],
|
|||||||
bits2, len, r, pos, file, func, line);
|
bits2, len, r, pos, file, func, line);
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
static inline int get_xbits_trace(GetBitContext *s, int n, char *file,
|
static inline int get_xbits_trace(GetBitContext *s, int n, const char *file,
|
||||||
const char *func, int line)
|
const char *func, int line)
|
||||||
{
|
{
|
||||||
int show = show_bits(s, n);
|
int show = show_bits(s, n);
|
||||||
|
Loading…
Reference in New Issue
Block a user