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
matroskadec: fix leak on error
CC:
libav-stable@libav.org
Bug-Id: CID 1026767
tags/n2.5
Vittorio Giovara
11 years ago
parent
7785ce1c76
commit
3c1199c3c4
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavformat/matroskadec.c
+ 1
- 0
libavformat/matroskadec.c
View File
@@ -2265,6 +2265,7 @@ static int matroska_parse_frame(MatroskaDemuxContext *matroska,
/* XXX: prevent data copy... */
if (av_new_packet(pkt, pkt_size + offset) < 0) {
av_free(pkt);
av_freep(&pkt_data);
return AVERROR(ENOMEM);
}
Write
Preview
Loading…
Cancel
Save