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

@@ -28,7 +28,8 @@
#define AVCODEC_RL_H
#include <stdint.h>
#include "get_bits.h"
#include "vlc.h"
/* run length table */
#define MAX_RUN 64