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

Michael Niedermayer michael at niedermayer.cc
Mon Oct 14 23:31:35 EEST 2019


On Mon, Oct 14, 2019 at 06:16:21PM +0000, Paul B Mahol wrote:
> ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Oct 14 20:14:03 2019 +0200| [79522411fa53b68743302d16d28156db95466a21] | committer: Paul B Mahol
> 
> avfilter/vf_lenscorrection: make width/height int
> 
> Somehow previous correct fix broke usage.
> 
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=79522411fa53b68743302d16d28156db95466a21
> ---
> 
>  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 ac3c490821..bb8ea3734f 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;

i confirm this fixes it

Thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The bravest are surely those who have the clearest vision
of what is before them, glory and danger alike, and yet
notwithstanding go out to meet it. -- Thucydides
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191014/64c20086/attachment.sig>


More information about the ffmpeg-devel mailing list