Re: [FFmpeg-devel] [PATCH]lavfi/fspp: Add a cast to silence a clang warning

2019-04-19 Thread Carl Eugen Hoyos
2019-04-18 14:07 GMT+02:00, Carl Eugen Hoyos : > 2019-04-18 12:16 GMT+02:00, Michael Niedermayer : >>> Silences a warning with clang: >>> warning: implicit conversion from 'int' to 'int16_t' (aka 'short') >>> changes >>> value from 44130 to -21406 >>> --- >>> libavfilter/vf_fspp.h |2 +- >>>

Re: [FFmpeg-devel] [PATCH]lavfi/fspp: Add a cast to silence a clang warning

2019-04-18 Thread Carl Eugen Hoyos
2019-04-18 12:16 GMT+02:00, Michael Niedermayer : > On Tue, Apr 16, 2019 at 12:55:03AM +0200, Carl Eugen Hoyos wrote: >> 2019-04-14 1:02 GMT+02:00, Michael Niedermayer : >> > On Sat, Apr 13, 2019 at 07:25:54PM -0300, James Almer wrote: >> >> On 4/13/2019 7:04 PM, Carl Eugen Hoyos wrote: >> >> >

Re: [FFmpeg-devel] [PATCH]lavfi/fspp: Add a cast to silence a clang warning

2019-04-18 Thread Michael Niedermayer
On Tue, Apr 16, 2019 at 12:55:03AM +0200, Carl Eugen Hoyos wrote: > 2019-04-14 1:02 GMT+02:00, Michael Niedermayer : > > On Sat, Apr 13, 2019 at 07:25:54PM -0300, James Almer wrote: > >> On 4/13/2019 7:04 PM, Carl Eugen Hoyos wrote: > >> > Hi! > >> > > >> > Attached patch silences two warnings

Re: [FFmpeg-devel] [PATCH]lavfi/fspp: Add a cast to silence a clang warning

2019-04-15 Thread Carl Eugen Hoyos
2019-04-14 1:02 GMT+02:00, Michael Niedermayer : > On Sat, Apr 13, 2019 at 07:25:54PM -0300, James Almer wrote: >> On 4/13/2019 7:04 PM, Carl Eugen Hoyos wrote: >> > Hi! >> > >> > Attached patch silences two warnings shown when compiling with clang: >> > libavfilter/vf_fspp.h:51:42: warning:

Re: [FFmpeg-devel] [PATCH]lavfi/fspp: Add a cast to silence a clang warning

2019-04-13 Thread Michael Niedermayer
On Sat, Apr 13, 2019 at 07:25:54PM -0300, James Almer wrote: > On 4/13/2019 7:04 PM, Carl Eugen Hoyos wrote: > > Hi! > > > > Attached patch silences two warnings shown when compiling with clang: > > libavfilter/vf_fspp.h:51:42: warning: implicit conversion from 'int' > > to 'int16_t' (aka

Re: [FFmpeg-devel] [PATCH]lavfi/fspp: Add a cast to silence a clang warning

2019-04-13 Thread James Almer
On 4/13/2019 7:04 PM, Carl Eugen Hoyos wrote: > Hi! > > Attached patch silences two warnings shown when compiling with clang: > libavfilter/vf_fspp.h:51:42: warning: implicit conversion from 'int' > to 'int16_t' (aka 'short') changes value from 44130 to -21406 > > Please comment, Carl Eugen > >

[FFmpeg-devel] [PATCH]lavfi/fspp: Add a cast to silence a clang warning

2019-04-13 Thread Carl Eugen Hoyos
Hi! Attached patch silences two warnings shown when compiling with clang: libavfilter/vf_fspp.h:51:42: warning: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 44130 to -21406 Please comment, Carl Eugen From d731e523d9c5854183d20d37fe921f49fb048498 Mon Sep 17