You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/amfenc: remove unused variables
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
@ -673,8 +673,6 @@ static AMF_RESULT amf_query_output(AVCodecContext *avctx, AMFBuffer **buffer)
|
|||||||
int ff_amf_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)
|
int ff_amf_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)
|
||||||
{
|
{
|
||||||
AMFEncoderContext *ctx = avctx->priv_data;
|
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;
|
AMFSurface *surface = NULL;
|
||||||
AMF_RESULT res;
|
AMF_RESULT res;
|
||||||
int ret;
|
int ret;
|
||||||
|
Reference in New Issue
Block a user