diff options
author | Mikhail Burakov <mburakov@mailbox.org> | 2023-04-08 13:49:13 +0200 |
---|---|---|
committer | Mikhail Burakov <mburakov@mailbox.org> | 2023-04-09 10:26:16 +0200 |
commit | b4996b76e99ab602ff87df31d61074cfa72f9f61 (patch) | |
tree | d8ec2684929e1e2b98394d31896b1e048b8adaa3 /gpu.h | |
parent | 0fe1d5648f5ee5f1548eb887e96ca149f9e6481c (diff) |
Get rid of auto variables
Diffstat (limited to 'gpu.h')
-rw-r--r-- | gpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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_ |