Hi Zhentan, On Wed, Apr 7, 2010 at 12:48 PM, spyfeng <[email protected]> wrote: > h->is_streamed = 1; > - mms = av_malloc(sizeof(MMSContext)); > - if (!mms) > - return AVERROR(ENOMEM); > - memset(mms, 0, sizeof(MMSContext)); > - h->priv_data = mms; > + h->priv_data = av_mallocz(sizeof(MMSContext)); > > return mms_open_cnx(h, uri);
You removed the return AVERROR(ENOMEM) on alloc failure. Ronald _______________________________________________ FFmpeg-soc mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc
