From c09daf838881c4e896952375c3c1c8fcfdd55248 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 15 Feb 2024 14:10:58 -0800 Subject: [PATCH] Removed unused variables --- test/testffmpeg.c | 1 - 1 file changed, 1 deletion(-) diff --git a/test/testffmpeg.c b/test/testffmpeg.c index 711a379381..448123972c 100644 --- a/test/testffmpeg.c +++ b/test/testffmpeg.c @@ -743,7 +743,6 @@ static SDL_bool GetTextureForD3D11Frame(AVFrame *frame, SDL_Texture **texture) static SDL_bool GetTextureForVideoToolboxFrame(AVFrame *frame, SDL_Texture **texture) { #ifdef SDL_PLATFORM_APPLE - int texture_width = 0, texture_height = 0; CVPixelBufferRef pPixelBuffer = (CVPixelBufferRef)frame->data[3]; OSType nPixelBufferType = CVPixelBufferGetPixelFormatType(pPixelBuffer); size_t nPixelBufferWidth = CVPixelBufferGetWidthOfPlane(pPixelBuffer, 0);