Commit 4aa900ac authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit 'c8fa6478'

* commit 'c8fa6478':
  oggparsespeex: Fix unchecked malloc
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents bbfdeec0 c8fa6478
......@@ -47,6 +47,8 @@ static int speex_header(AVFormatContext *s, int idx) {
if (!spxp) {
spxp = av_mallocz(sizeof(*spxp));
if (!spxp)
return AVERROR(ENOMEM);
os->private = spxp;
}
......
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