summaryrefslogtreecommitdiff
path: root/gpu.h
diff options
context:
space:
mode:
authorMikhail Burakov <mburakov@mailbox.org>2023-04-08 13:49:13 +0200
committerMikhail Burakov <mburakov@mailbox.org>2023-04-09 10:26:16 +0200
commitb4996b76e99ab602ff87df31d61074cfa72f9f61 (patch)
treed8ec2684929e1e2b98394d31896b1e048b8adaa3 /gpu.h
parent0fe1d5648f5ee5f1548eb887e96ca149f9e6481c (diff)
Get rid of auto variables
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_