Merge commit 'c8fa647811371885be421a84a2388529857fed23'

* commit 'c8fa647811371885be421a84a2388529857fed23':
  oggparsespeex: Fix unchecked malloc

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
pull/162/head
Hendrik Leppkes 9 years ago
commit 4aa900acbd
  1. 2
      libavformat/oggparsespeex.c

@ -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;
}

Loading…
Cancel
Save