[FFmpeg-cvslog] avutil/aes: Fix types

Michael Niedermayer git at videolan.org
Fri Jun 19 02:26:49 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jun 19 02:11:40 2015 +0200| [fdbad24090e167821c8587e4f26d0978fe4bef6b] | committer: Michael Niedermayer

avutil/aes: Fix types

Fixes "warning: argument #2 is incompatible with prototype:"

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fdbad24090e167821c8587e4f26d0978fe4bef6b
---

 libavutil/aes.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavutil/aes.c b/libavutil/aes.c
index fd87060..8d4bbbb 100644
--- a/libavutil/aes.c
+++ b/libavutil/aes.c
@@ -311,8 +311,8 @@ int main(int argc, char **argv)
         AVAES ae, ad;
         AVLFG prng;
 
-        av_aes_init(&ae, "PI=3.141592654..", 128, 0);
-        av_aes_init(&ad, "PI=3.141592654..", 128, 1);
+        av_aes_init(&ae, (const uint8_t*)"PI=3.141592654..", 128, 0);
+        av_aes_init(&ad, (const uint8_t*)"PI=3.141592654..", 128, 1);
         av_lfg_init(&prng, 1);
 
         for (i = 0; i < 10000; i++) {



More information about the ffmpeg-cvslog mailing list