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
wtv: clean memory on error
CC:
libav-stable@libav.org
Bug-Id: CID 718002
tags/n2.5
Vittorio Giovara
10 years ago
parent
9fbc613f0d
commit
7b48bf9524
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
libavformat/wtv.c
+ 3
- 1
libavformat/wtv.c
View File
@@ -632,8 +632,10 @@ static AVStream * new_stream(AVFormatContext *s, AVStream *st, int sid, int code
if (!wst)
return NULL;
st = avformat_new_stream(s, NULL);
if (!st)
if (!st) {
av_free(wst);
return NULL;
}
st->id = sid;
st->priv_data = wst;
}
Write
Preview
Loading…
Cancel
Save