summaryrefslogtreecommitdiff
path: root/apps/codecs/libcook/bitstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libcook/bitstream.h')
-rw-r--r--apps/codecs/libcook/bitstream.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/codecs/libcook/bitstream.h b/apps/codecs/libcook/bitstream.h
index 2319a4d672..caef254f0d 100644
--- a/apps/codecs/libcook/bitstream.h
+++ b/apps/codecs/libcook/bitstream.h
@@ -29,10 +29,9 @@
29#include <stdint.h> 29#include <stdint.h>
30#include <stdlib.h> 30#include <stdlib.h>
31#include <assert.h> 31#include <assert.h>
32#include <string.h>
33#include <stdio.h>
32#include "libavutil/bswap.h" 34#include "libavutil/bswap.h"
33#include "libavutil/common.h"
34//#include "libavutil/log.h"
35//#include "mathops.h"
36 35
37/* The following 2 defines are taken from libavutil/intreadwrite.h */ 36/* The following 2 defines are taken from libavutil/intreadwrite.h */
38#define AV_RB32(x) ((((const uint8_t*)(x))[0] << 24) | \ 37#define AV_RB32(x) ((((const uint8_t*)(x))[0] << 24) | \
@@ -881,7 +880,7 @@ void free_vlc(VLC *vlc);
881 * read the longest vlc code 880 * read the longest vlc code
882 * = (max_vlc_length + bits - 1) / bits 881 * = (max_vlc_length + bits - 1) / bits
883 */ 882 */
884static av_always_inline int get_vlc2(GetBitContext *s, VLC_TYPE (*table)[2], 883static inline int get_vlc2(GetBitContext *s, VLC_TYPE (*table)[2],
885 int bits, int max_depth) 884 int bits, int max_depth)
886{ 885{
887 int code; 886 int code;