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>
This commit is contained in:
Alexandra Hájková 2016-05-14 11:45:01 +02:00 committed by Luca Barbato
parent b23613268c
commit ffa190d047
7 changed files with 74 additions and 44 deletions

View file

@ -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