mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
fftools/ffmpeg_sched: Remove set-but-unused variable
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
09e6840cf7
commit
78e2be2377
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user