X-Git-Url: https://git.piment-noir.org/?p=deb_ffmpeg.git;a=blobdiff_plain;f=ffmpeg%2Flibavformat%2Fcrypto.c;h=22529fb52189454ed9fc86fa9b005e560b16d80b;hp=c1754b0b114b8914a809652e51634b4565e08834;hb=dcebb6f35d810c9009a455808b016c790bb633b4;hpb=f6fa7814ccfe3e76514b36cf04f5cd3cb657c8cf diff --git a/ffmpeg/libavformat/crypto.c b/ffmpeg/libavformat/crypto.c index c1754b0..22529fb 100644 --- a/ffmpeg/libavformat/crypto.c +++ b/ffmpeg/libavformat/crypto.c @@ -122,7 +122,7 @@ static int crypto_open2(URLContext *h, const char *uri, int flags, AVDictionary c->key, c->keylen, "decryption key")) < 0) goto err; if ((ret = set_aes_arg(c, &c->decrypt_iv, &c->decrypt_ivlen, - c->key, c->keylen, "decryption IV")) < 0) + c->iv, c->ivlen, "decryption IV")) < 0) goto err; } @@ -132,7 +132,7 @@ static int crypto_open2(URLContext *h, const char *uri, int flags, AVDictionary if (ret < 0) goto err; if ((ret = set_aes_arg(c, &c->encrypt_iv, &c->encrypt_ivlen, - c->key, c->keylen, "encryption IV")) < 0) + c->iv, c->ivlen, "encryption IV")) < 0) goto err; }