Merge remote-tracking branch 'qatar/master'

* qatar/master:
  oggparsetheora: check av_mallocz result

Merged-by: Michael Niedermayer <michaelni@gmx.at>
pull/45/head
Michael Niedermayer 11 years ago
commit 7fd7a10efd
  1. 2
      libavformat/oggparsetheora.c

@ -50,6 +50,8 @@ static int theora_header(AVFormatContext *s, int idx)
if (!thp) {
thp = av_mallocz(sizeof(*thp));
if (!thp)
return AVERROR(ENOMEM);
os->private = thp;
}

Loading…
Cancel
Save