]> git.sesse.net Git - ffmpeg/commit
lavf/rtmpcrypt: Add a cast to silence an unavoidable warning.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Sun, 15 Apr 2018 22:14:24 +0000 (00:14 +0200)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Thu, 26 Apr 2018 11:45:20 +0000 (13:45 +0200)
commit3914a76db687b4a94878d643da21bf0a217b6472
treeddc7a34e6ce77d7a8d21f66e2e37f8c0c20e08e9
parent4c27a6fbfde12317bd7d10502d73fb74d566afc3
lavf/rtmpcrypt: Add a cast to silence an unavoidable warning.

The av_rc4_crypt() documentation allows src == dst.

Silences the following warning:
libavformat/rtmpcrypt.c:304:36: warning: passing argument 2 of 'av_rc4_crypt' discards 'const' qualifier from pointer target type

Reported-by: Reino Wijnsma
libavformat/rtmpcrypt.c