diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2025-08-02 03:23:42 +0200 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2025-08-02 22:25:28 +0000 |
commit | 1a9924d794c0924a92bc6b9577c5af8d9e5f826d (patch) | |
tree | b0478bc8eb18a9215390dde9c48e7013e3510a81 | |
parent | a27c32948754dfb50cd2f625a4ac75e4f52c8875 (diff) | |
download | ffmpeg-1a9924d794c0924a92bc6b9577c5af8d9e5f826d.tar.gz |
avcodec/amfenc: remove unused variables
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
-rw-r--r-- | libavcodec/amfenc.c | 2 |
1 files changed, 0 insertions, 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; |