diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-28 13:36:22 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-28 13:54:40 +0200 |
commit | 2acb5cd90793de7f375bf6ebf4eabe2b59a2ecc3 (patch) | |
tree | 5d827d355bab646ca6ccdebe930ac927a02c3713 /libavcodec/golomb.h | |
parent | 4fefe91a33956007f17cfd6e0c5ee1cb3a3f36d8 (diff) | |
parent | d16860a237ae56a21d051df6556c40de9be53faa (diff) | |
download | ffmpeg-2acb5cd90793de7f375bf6ebf4eabe2b59a2ecc3.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
libopus: Remap channels using libopus' internal remapping.
Opus decoder using libopus
avcodec: document the use of AVCodecContext.delay for audio decoding
vc1dec: add flush function for WMV9 and VC-1 decoders
http: Increase buffer sizes to cope with longer URIs
nutenc: const correctness for ff_put_v_trace/put_s_trace function arguments
h264_refs: Fix debug tprintf argument types
golomb: const correctness for get_ue()/get_se() function arguments
get_bits: const correctness for get_bits_trace()/get_xbits_trace() arguments
Conflicts:
Changelog
libavcodec/Makefile
libavcodec/version.h
libavformat/http.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/golomb.h')
-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 fddc8071cd..50d786b6d5 100644 --- a/libavcodec/golomb.h +++ b/libavcodec/golomb.h @@ -374,7 +374,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); @@ -388,7 +390,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); |