aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg_sched.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-13 10:49:56 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-14 22:53:45 +0100
commit78e2be23774c41941462dd6e54229825ea9011f2 (patch)
tree10b2144c45918bbd670d492fe3ba2dcac9d1f861 /fftools/ffmpeg_sched.c
parent09e6840cf7a3ee07a73c3ae88a020bf27ca1a667 (diff)
downloadffmpeg-78e2be23774c41941462dd6e54229825ea9011f2.tar.gz
fftools/ffmpeg_sched: Remove set-but-unused variable
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'fftools/ffmpeg_sched.c')
-rw-r--r--fftools/ffmpeg_sched.c2
1 files changed, 0 insertions, 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;
}