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
sanity check whether dimensions are non-null
Originally committed as revision 4634 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Alex Beregszaszi
20 years ago
parent
83254e245c
commit
d10dc61682
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
libavcodec/imgresample.c
+ 3
- 0
libavcodec/imgresample.c
View File
@@ -558,6 +558,9 @@ ImgReSampleContext *img_resample_full_init(int owidth, int oheight,
{
ImgReSampleContext *s;
if (!owidth || !oheight || !iwidth || !iheight)
return NULL;
s = av_mallocz(sizeof(ImgReSampleContext));
if (!s)
return NULL;
Write
Preview
Loading…
Cancel
Save