mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-08 16:19:33 +00:00
fftools/ffmpeg_sched: Remove dead assignments in sch_dec_send()
Fixes: CID1592383 Unused value Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
68f6063e04
commit
ed364444f1
@ -2174,7 +2174,7 @@ finish:
|
|||||||
int sch_dec_send(Scheduler *sch, unsigned dec_idx, AVFrame *frame)
|
int sch_dec_send(Scheduler *sch, unsigned dec_idx, AVFrame *frame)
|
||||||
{
|
{
|
||||||
SchDec *dec;
|
SchDec *dec;
|
||||||
int ret = 0;
|
int ret;
|
||||||
unsigned nb_done = 0;
|
unsigned nb_done = 0;
|
||||||
|
|
||||||
av_assert0(dec_idx < sch->nb_dec);
|
av_assert0(dec_idx < sch->nb_dec);
|
||||||
@ -2201,7 +2201,6 @@ int sch_dec_send(Scheduler *sch, unsigned dec_idx, AVFrame *frame)
|
|||||||
av_frame_unref(to_send);
|
av_frame_unref(to_send);
|
||||||
if (ret == AVERROR_EOF) {
|
if (ret == AVERROR_EOF) {
|
||||||
nb_done++;
|
nb_done++;
|
||||||
ret = 0;
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user