mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-24 08:13:37 +00: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;
|
SchEnc *enc;
|
||||||
int ret;
|
int ret;
|
||||||
unsigned nb_done = 0;
|
|
||||||
|
|
||||||
av_assert0(enc_idx < sch->nb_enc);
|
av_assert0(enc_idx < sch->nb_enc);
|
||||||
enc = &sch->enc[enc_idx];
|
enc = &sch->enc[enc_idx];
|
||||||
@ -2332,7 +2331,6 @@ int sch_enc_send(Scheduler *sch, unsigned enc_idx, AVPacket *pkt)
|
|||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
av_packet_unref(to_send);
|
av_packet_unref(to_send);
|
||||||
if (ret == AVERROR_EOF) {
|
if (ret == AVERROR_EOF) {
|
||||||
nb_done++;
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user