Revision 017c0811

View differences:

libavcodec/bitstream.h
33 33
#include "libavutil/common.h"
34 34
#include "libavutil/intreadwrite.h"
35 35
#include "libavutil/log.h"
36
#include "mathops.h"
36 37

  
37 38
#if defined(ALT_BITSTREAM_READER_LE) && !defined(ALT_BITSTREAM_READER)
38 39
#   define ALT_BITSTREAM_READER
......
707 708
}
708 709

  
709 710
/**
711
 * reads 0-32 bits as a signed integer.
712
 */
713
static inline int get_sbits_long(GetBitContext *s, int n) {
714
    return sign_extend(get_bits_long(s, n), n);
715
}
716

  
717
/**
710 718
 * shows 0-32 bits.
711 719
 */
712 720
static inline unsigned int show_bits_long(GetBitContext *s, int n){

Also available in: Unified diff