]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/roqvideo.h
pcm: switch to ff_alloc_packet2().
[ffmpeg] / libavcodec / roqvideo.h
index 66c8bebe584fa28e08c622fffff9935b2a534632..a458ab21198efe29606e95182e608983695b925c 100644 (file)
@@ -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 */