This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
crypto: Use av_freep instead of av_free
Using av_freep is generally good practice. Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n0.8
Martin Storsjö
14 years ago
parent
50f7c29646
commit
ac9cf2e5c4
1 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-3
libavformat/crypto.c
+ 3
- 3
libavformat/crypto.c
View File
@@ -153,9 +153,9 @@ static int crypto_close(URLContext *h)
CryptoContext *c = h->priv_data;
if (c->hd)
ffurl_close(c->hd);
av_free(c->aes);
av_free(c->key);
av_free(c->iv);
av_free
p
(
&
c->aes);
av_free
p
(
&
c->key);
av_free
p
(
&
c->iv);
return 0;
}
Write
Preview
Loading…
Cancel
Save