summaryrefslogtreecommitdiff
path: root/gpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu.h')
-rw-r--r--gpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu.h b/gpu.h
index 0043aca..0f0d71d 100644
--- a/gpu.h
+++ b/gpu.h
@@ -34,7 +34,7 @@ struct GpuFramePlane {
struct GpuContext* GpuContextCreate(enum YuvColorspace colorspace,
enum YuvRange range);
bool GpuContextSync(struct GpuContext* gpu_context);
-void GpuContextDestroy(struct GpuContext** gpu_context);
+void GpuContextDestroy(struct GpuContext* gpu_context);
struct GpuFrame* GpuFrameCreate(struct GpuContext* gpu_context, uint32_t width,
uint32_t height, uint32_t fourcc,
@@ -43,6 +43,6 @@ struct GpuFrame* GpuFrameCreate(struct GpuContext* gpu_context, uint32_t width,
void GpuFrameGetSize(const struct GpuFrame* gpu_frame, uint32_t* width,
uint32_t* height);
bool GpuFrameConvert(const struct GpuFrame* from, const struct GpuFrame* to);
-void GpuFrameDestroy(struct GpuFrame** gpu_frame);
+void GpuFrameDestroy(struct GpuFrame* gpu_frame);
#endif // STREAMER_GPU_H_