summaryrefslogtreecommitdiff
path: root/libavcodec/huffman.c
diff options
context:
space:
mode:
authorAlexandra Hájková <alexandra.khirnova@gmail.com>2016-05-14 11:45:01 +0200
committerLuca Barbato <lu_zero@gentoo.org>2016-05-17 10:29:27 +0200
commitffa190d0479d2370dd89c95692f822cbff2cc24c (patch)
tree6b09a2c8623644bdf5fdd4bb683af2a44dbe6c09 /libavcodec/huffman.c
parentb23613268c6b56a8f9de7859562d82b4b88353d9 (diff)
Move VLC and RL_VLC_ELEM structure definitions to a separate header
Use the newly created vlc.h directly instead of including get_bits when needed. The VLC and RL_VLC_ELEM structures are independent from the bitreader. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/huffman.c')
-rw-r--r--libavcodec/huffman.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/huffman.c b/libavcodec/huffman.c
index 2a3db87df3..3b15aa2684 100644
--- a/libavcodec/huffman.c
+++ b/libavcodec/huffman.c
@@ -26,8 +26,11 @@
#include <stdint.h>
+#include"libavutil/common.h"
+
#include "avcodec.h"
#include "huffman.h"
+#include "vlc.h"
/* symbol for Huffman tree node */
#define HNODE -1