[FFmpeg-devel] [PATCH]lavf/rtmpcrypt: Add a cast to silence a warning

Reino Wijnsma rwijnsma at xs4all.nl
Sun Apr 22 01:52:21 EEST 2018


On 16-4-2018 0:19, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> rtmpe_write() exploits knowledge about av_rc4_crypt() internals and
> passes the same
> pointer as src and dst. I assume this is intentional for performance
> reasons, the only
> way to silence the resulting warning is a cast afaict.
>
> Please comment, Carl Eugen
$ make libavformat/rtmpcrypt.o
CC      libavformat/rtmpcrypt.o

No more warning.

-- Reino



More information about the ffmpeg-devel mailing list