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

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Apr 14 01:04:16 EEST 2019


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavfi-vf_fspp-Use-the-intended-cast-to-int16_t.patch
Type: text/x-patch
Size: 907 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190414/5724bc83/attachment.bin>

More information about the ffmpeg-devel mailing list