From 1a9924d794c0924a92bc6b9577c5af8d9e5f826d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Sat, 2 Aug 2025 03:23:42 +0200 Subject: [PATCH] avcodec/amfenc: remove unused variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kacper Michajłow --- libavcodec/amfenc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/amfenc.c b/libavcodec/amfenc.c index a2009ed722..b16b642e4c 100644 --- a/libavcodec/amfenc.c +++ b/libavcodec/amfenc.c @@ -673,8 +673,6 @@ static AMF_RESULT amf_query_output(AVCodecContext *avctx, AMFBuffer **buffer) int ff_amf_receive_packet(AVCodecContext *avctx, AVPacket *avpkt) { AMFEncoderContext *ctx = avctx->priv_data; - AVHWDeviceContext *hw_device_ctx = (AVHWDeviceContext*)ctx->device_ctx_ref->data; - AVAMFDeviceContext *amf_device_ctx = (AVAMFDeviceContext *)hw_device_ctx->hwctx; AMFSurface *surface = NULL; AMF_RESULT res; int ret;