[FFmpeg-cvslog] av_des_init: suppress warning about unused parameter

Michael Niedermayer git at videolan.org
Wed Sep 19 22:43:49 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Sep 19 21:57:58 2012 +0200| [270a325f0c863be814c6dcbacc296202389eedc8] | committer: Michael Niedermayer

av_des_init: suppress warning about unused parameter

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

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

 libavutil/des.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/des.c b/libavutil/des.c
index 63eb7f5..32ac26f 100644
--- a/libavutil/des.c
+++ b/libavutil/des.c
@@ -286,7 +286,7 @@ static uint64_t des_encdec(uint64_t in, uint64_t K[16], int decrypt) {
     return in;
 }
 
-int av_des_init(AVDES *d, const uint8_t *key, int key_bits, int decrypt) {
+int av_des_init(AVDES *d, const uint8_t *key, int key_bits, av_unused int decrypt) {
     if (key_bits != 64 && key_bits != 192)
         return -1;
     d->triple_des = key_bits > 64;



More information about the ffmpeg-cvslog mailing list