diff --git a/libavcodec/mfenc.c b/libavcodec/mfenc.c index 8cc96c21bf..30531fe3e8 100644 --- a/libavcodec/mfenc.c +++ b/libavcodec/mfenc.c @@ -449,10 +449,7 @@ static int process_software_frame(AVCodecContext *avctx, const AVFrame *frame, I static int mf_v_avframe_to_sample(AVCodecContext *avctx, const AVFrame *frame, IMFSample **out_sample) { - MFContext *c = avctx->priv_data; - MFFunctions *func = &c->functions; IMFSample *sample = NULL; - IMFMediaBuffer *buffer = NULL; HRESULT hr; int ret;