diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-06-19 02:11:40 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-19 02:25:48 +0200 |
commit | fdbad24090e167821c8587e4f26d0978fe4bef6b (patch) | |
tree | 2a5c02039bc36ddb77d759ddacb7de89f34b5c8c /libavutil | |
parent | d8a227f2319ad639293803e67ecce5a8c6984aca (diff) | |
download | ffmpeg-streaming-fdbad24090e167821c8587e4f26d0978fe4bef6b.zip ffmpeg-streaming-fdbad24090e167821c8587e4f26d0978fe4bef6b.tar.gz |
avutil/aes: Fix types
Fixes "warning: argument #2 is incompatible with prototype:"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/aes.c | 4 |
1 files 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++) { |