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
avformat: Make avformat_free_context handle NULL
Work as the other free()-like functions. Bug-Id: CID 1087081 CC:
libav-stable@libav.org
tags/n2.4.7
Luca Barbato
Vittorio Giovara
11 years ago
parent
b31bb39bdd
commit
bb823e26b1
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavformat/utils.c
+ 3
- 0
libavformat/utils.c
View File
@@ -2447,6 +2447,9 @@ void avformat_free_context(AVFormatContext *s)
int i, j;
AVStream *st;
if (!s)
return;
av_opt_free(s);
if (s->iformat && s->iformat->priv_class && s->priv_data)
av_opt_free(s->priv_data);
Write
Preview
Loading…
Cancel
Save