Commit a91c175d authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '17c45d4d'

* commit '17c45d4d':
  libtheora: Check frame allocation
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 9ecfe0b8 17c45d4d
......@@ -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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment