From b4996b76e99ab602ff87df31d61074cfa72f9f61 Mon Sep 17 00:00:00 2001 From: Mikhail Burakov Date: Sat, 8 Apr 2023 13:49:13 +0200 Subject: Get rid of auto variables --- gpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gpu.h') 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_ -- cgit v1.2.3