[FFmpeg-devel] [PATCH] fftools/ffmpeg_sched: Remove set-but-unused variable
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Thu Mar 14 23:21:17 EET 2024
Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> 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;
> }
Will apply.
- Andreas
More information about the ffmpeg-devel
mailing list