]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/rtjpeg.h
lavc: add a wrapper for AVCodecContext.get_buffer().
[ffmpeg] / libavcodec / rtjpeg.h
index 95b59e9c75e03754452bdfba5f5e04a7bf624ae2..9fbfb34ddc1059f0fe09196cbb4f24c9666fbc0d 100644 (file)
 
 #include <stdint.h>
 #include "dsputil.h"
+#include "libavutil/mem.h"
 
-typedef struct {
+#define RTJPEG_FILE_VERSION 0
+#define RTJPEG_HEADER_SIZE 12
+
+typedef struct RTJpegContext {
     int w, h;
     DSPContext *dsp;
     uint8_t scan[64];