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
yop: check return value of av_frame_alloc()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.1
Paul B Mahol
12 years ago
parent
9437259276
commit
3838637bbb
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/yop.c
+ 2
- 0
libavcodec/yop.c
View File
@@ -118,6 +118,8 @@ static av_cold int yop_decode_init(AVCodecContext *avctx)
}
s->frame = av_frame_alloc();
if (!s->frame)
return AVERROR(ENOMEM);
return 0;
}
Write
Preview
Loading…
Cancel
Save