提交 a91c175d 编写于 作者: M Michael Niedermayer

Merge commit '17c45d4d'

* commit '17c45d4d':
  libtheora: Check frame allocation
Merged-by: NMichael Niedermayer <michaelni@gmx.at>
......@@ -267,6 +267,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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册