From 78e2be23774c41941462dd6e54229825ea9011f2 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 13 Mar 2024 10:49:56 +0100 Subject: [PATCH] fftools/ffmpeg_sched: Remove set-but-unused variable Signed-off-by: Andreas Rheinhardt --- fftools/ffmpeg_sched.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fftools/ffmpeg_sched.c b/fftools/ffmpeg_sched.c index d1fb942c34..f739066921 100644 --- a/fftools/ffmpeg_sched.c +++ b/fftools/ffmpeg_sched.c @@ -2310,7 +2310,6 @@ int sch_enc_send(Scheduler *sch, unsigned enc_idx, AVPacket *pkt) { SchEnc *enc; int ret; - unsigned nb_done = 0; av_assert0(enc_idx < sch->nb_enc); enc = &sch->enc[enc_idx]; @@ -2332,7 +2331,6 @@ int sch_enc_send(Scheduler *sch, unsigned enc_idx, AVPacket *pkt) if (ret < 0) { av_packet_unref(to_send); if (ret == AVERROR_EOF) { - nb_done++; ret = 0; continue; }