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