lavc: Add hwaccel private data and init/uninit callbacks
[ffmpeg.git] / libavcodec / internal.h
index 78af94e..6aaaf4c 100644 (file)
@@ -95,6 +95,11 @@ typedef struct AVCodecInternal {
      * packet into every function.
      */
     AVPacket *pkt;
+
+    /**
+     * hwaccel-specific private data
+     */
+    void *hwaccel_priv_data;
 } AVCodecInternal;
 
 struct AVCodecDefault {