diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-03-06 15:58:35 -0800 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-03-07 11:37:20 -0800 |
commit | cdf15771621bce7959b3e53b21426c5ba747e17b (patch) | |
tree | 716183b1c9ac922808b4b5b48ded7a6d1958fa4e /libavcodec/roqvideo.h | |
parent | 93b53ffb1abbe4aa7a922a830c8ae2e3ac098de3 (diff) | |
download | ffmpeg-cdf15771621bce7959b3e53b21426c5ba747e17b.tar.gz |
roqvideo: convert to bytestream2 API.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Diffstat (limited to 'libavcodec/roqvideo.h')
-rw-r--r-- | libavcodec/roqvideo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/roqvideo.h b/libavcodec/roqvideo.h index e2dc272c04..fba3d41a4a 100644 --- a/libavcodec/roqvideo.h +++ b/libavcodec/roqvideo.h @@ -24,6 +24,7 @@ #include "libavutil/lfg.h" #include "avcodec.h" +#include "bytestream.h" #include "dsputil.h" typedef struct { @@ -53,8 +54,7 @@ typedef struct RoqContext { roq_cell cb2x2[256]; roq_qcell cb4x4[256]; - const unsigned char *buf; - int size; + GetByteContext gb; int width, height; /* Encoder only data */ |