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
libtheora: Check frame allocation
tags/n2.7
Vittorio Giovara
10 years ago
parent
a72d93daa0
commit
17c45d4d05
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavcodec/libtheoraenc.c
+ 2
- 0
libavcodec/libtheoraenc.c
View File
@@ -260,6 +260,8 @@ static av_cold int encode_init(AVCodecContext* avc_context)
/* Set up the output AVFrame */
avc_context->coded_frame = av_frame_alloc();
if (!avc_context->coded_frame)
return AVERROR(ENOMEM);
return 0;
}
Write
Preview
Loading…
Cancel
Save