diff --git a/libavcodec/wrapped_avframe.c b/libavcodec/wrapped_avframe.c index b8f1ec5e63..13c8d8a239 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);