summaryrefslogtreecommitdiff
path: root/video.h
diff options
context:
space:
mode:
Diffstat (limited to 'video.h')
-rw-r--r--video.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/video.h b/video.h
index f26cbd2..15ba976 100644
--- a/video.h
+++ b/video.h
@@ -37,6 +37,9 @@ typedef struct _video_hw_decoder_ VideoHwDecoder;
/// Allocate new video hardware decoder.
extern VideoHwDecoder *VideoNewHwDecoder(void);
+ /// Deallocate video hardware decoder.
+extern void VideoDelHwDecoder(VideoHwDecoder *);
+
/// Get and allocate a video hardware surface.
extern unsigned VideoGetSurface(VideoHwDecoder *);