[FFmpeg-cvslog] avfilter/vf_lenscorrection: make width/height int

Paul B Mahol git at videolan.org
Sun Apr 10 00:37:16 EEST 2022


ffmpeg | branch: release/4.1 | Paul B Mahol <onemda at gmail.com> | Mon Oct 14 20:14:03 2019 +0200| [293f75b58197ef35fee49de5c7212ec09a48a7c8] | committer: Michael Niedermayer

avfilter/vf_lenscorrection: make width/height int

Somehow previous correct fix broke usage.

(cherry picked from commit 79522411fa53b68743302d16d28156db95466a21)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavfilter/vf_lenscorrection.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavfilter/vf_lenscorrection.c b/libavfilter/vf_lenscorrection.c
index 43f3c1b7d0..754b8f5ada 100644
--- a/libavfilter/vf_lenscorrection.c
+++ b/libavfilter/vf_lenscorrection.c
@@ -36,8 +36,8 @@
 
 typedef struct LenscorrectionCtx {
     const AVClass *av_class;
-    unsigned int width;
-    unsigned int height;
+    int width;
+    int height;
     int hsub, vsub;
     int nb_planes;
     double cx, cy, k1, k2;



More information about the ffmpeg-cvslog mailing list