From 972e03b4a09b790d9ed9c8102cc897a75c9bb751 Mon Sep 17 00:00:00 2001 From: Mikhail Burakov Date: Sun, 2 Apr 2023 12:08:06 +0200 Subject: Change frame planes counter type to uint32_t --- frame.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frame.h') diff --git a/frame.h b/frame.h index 597b0f3..0f894f4 100644 --- a/frame.h +++ b/frame.h @@ -32,12 +32,12 @@ struct Frame { uint32_t width; uint32_t height; uint32_t fourcc; - size_t nplanes; + uint32_t nplanes; struct FramePlane planes[4]; }; struct Frame* FrameCreate(uint32_t width, uint32_t height, uint32_t fourcc, - size_t nplanes, const struct FramePlane* planes); + uint32_t nplanes, const struct FramePlane* planes); void FrameDestroy(struct Frame** frame); #endif // RECEIVER_FRAME_H_ -- cgit v1.2.3