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
oggparsetheora: check av_mallocz result
tags/n2.2-rc1
Anton Khirnov
12 years ago
parent
5e5fb21877
commit
4f2d8968c0
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavformat/oggparsetheora.c
+ 2
- 0
libavformat/oggparsetheora.c
View File
@@ -50,6 +50,8 @@ static int theora_header(AVFormatContext *s, int idx)
if (!thp) {
thp = av_mallocz(sizeof(*thp));
if (!thp)
return AVERROR(ENOMEM);
os->private = thp;
}
Write
Preview
Loading…
Cancel
Save