From dd2d3b766b20196d0b65a82e3d897ccecbf7adb8 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 6 Mar 2014 18:37:42 +0100 Subject: lavc: Add hwaccel private data and init/uninit callbacks --- libavcodec/internal.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavcodec/internal.h') diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 78af94ecc4..6aaaf4c2cb 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -95,6 +95,11 @@ typedef struct AVCodecInternal { * packet into every function. */ AVPacket *pkt; + + /** + * hwaccel-specific private data + */ + void *hwaccel_priv_data; } AVCodecInternal; struct AVCodecDefault { -- cgit v1.2.3