[FFmpeg-cvslog] fftools/ffmpeg_sched: Remove set-but-unused variable

Andreas Rheinhardt git at videolan.org
Fri Mar 15 00:05:29 EET 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Mar 13 10:49:56 2024 +0100| [78e2be23774c41941462dd6e54229825ea9011f2] | committer: Andreas Rheinhardt

fftools/ffmpeg_sched: Remove set-but-unused variable

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=78e2be23774c41941462dd6e54229825ea9011f2
---

 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;
             }



More information about the ffmpeg-cvslog mailing list