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
postproc/postprocess: Check for av_malloc() failure
Fixes CID1271052 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer
10 years ago
parent
ac424b23e4
commit
f9d24ee1dc
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libpostproc/postprocess.c
+ 2
- 0
libpostproc/postprocess.c
View File
@@ -700,6 +700,8 @@ pp_mode *pp_get_mode_by_name_and_quality(const char *name, int quality)
}
ppMode= av_malloc(sizeof(PPMode));
if (!ppMode)
return NULL;
ppMode->lumMode= 0;
ppMode->chromMode= 0;
Write
Preview
Loading…
Cancel
Save