diff --git a/libavcodec/wrapped_avframe.c b/libavcodec/wrapped_avframe.c index 9d504dbd06..e1273e49d7 100644 --- a/libavcodec/wrapped_avframe.c +++ b/libavcodec/wrapped_avframe.c @@ -43,7 +43,6 @@ static int wrapped_avframe_encode(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) { AVFrame *wrapped = av_frame_clone(frame); - int ret; if (!wrapped) return AVERROR(ENOMEM);