On Mon, Apr 13, 2020 at 9:22 PM Andriy Gelman <andriy.gel...@gmail.com> wrote: > > On Mon, 13. Apr 20:02, Jun Zhao wrote: > > From: Jun Zhao <barryjz...@tencent.com> > > > > when enable the QSV in FFmpeg, used the cmd "ffmpeg -hwaccels" always > > dump redundancy acceleration methods for QSV like: > > > > Hardware acceleration methods: > > vaapi > > qsv > > drm > > opencl > > qsv > > > > Signed-off-by: Jun Zhao <barryjz...@tencent.com> > > --- > > fftools/ffmpeg_opt.c | 4 ---- > > 1 file changed, 4 deletions(-) > > > > diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c > > index 95001a9..a4eafcd 100644 > > --- a/fftools/ffmpeg_opt.c > > +++ b/fftools/ffmpeg_opt.c > > @@ -239,8 +239,6 @@ static int show_hwaccels(void *optctx, const char *opt, > > const char *arg) > > while ((type = av_hwdevice_iterate_types(type)) != > > AV_HWDEVICE_TYPE_NONE) > > printf("%s\n", av_hwdevice_get_type_name(type)); > > - for (i = 0; hwaccels[i].name; i++) > > - printf("%s\n", hwaccels[i].name); > > The stack variable int i would no longer be used, so can also be removed. > fixed in local, will re-send the patch, tks _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".