[FFmpeg-cvslog] avfilter/vf_transpose_npp: Use correct array name

Andreas Rheinhardt git at videolan.org
Fri Aug 13 23:53:26 EEST 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Aug 13 22:36:10 2021 +0200| [c44c03221d760ef8caec9e13b07251b90a6a1c8e] | committer: Andreas Rheinhardt

avfilter/vf_transpose_npp: Use correct array name

Fixes build failures since 18ec426a861c1a9a2072080796dff146bafecb53.

Found-by: Gregory Beauregard
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c44c03221d760ef8caec9e13b07251b90a6a1c8e
---

 libavfilter/vf_transpose_npp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_transpose_npp.c b/libavfilter/vf_transpose_npp.c
index 5c8226b71b..ad79d22f7f 100644
--- a/libavfilter/vf_transpose_npp.c
+++ b/libavfilter/vf_transpose_npp.c
@@ -117,7 +117,7 @@ static int npptranspose_query_formats(AVFilterContext *ctx)
         AV_PIX_FMT_CUDA, AV_PIX_FMT_NONE,
     };
 
-    return ff_set_common_formats_from_list(ctx, pixel_fmts);
+    return ff_set_common_formats_from_list(ctx, pixel_formats);
 }
 
 static int init_stage(NPPTransposeStageContext *stage, AVBufferRef *device_ctx)



More information about the ffmpeg-cvslog mailing list