On Tue, May 5, 2015 at 2:51 PM Andreas Cadhalpun < andreas.cadhalpun at googlemail.com> wrote: > > + if (!s->ref_pics[i]) { > + av_log(s->avctx, AV_LOG_ERROR, "Reference could not be > allocated\n"); > + return -1; > + } > + AVERROR(ENOMEM) Timothy