[FFmpeg-devel] [PATCH 1/3] lavfi: implement samples framing on links.

Nicolas George nicolas.george at normalesup.org
Sat Jun 30 14:06:15 CEST 2012


Le tridi 13 messidor, an CCXX, Michael Niedermayer a écrit :
> > +            if (!pbuf)
> > +                return;
> this should print a warning i think

True: I changed it into:

            if (!pbuf) {
                av_log(link->dst, AV_LOG_WARNING,
                       "Samples dropped due to memory allocation failure.\n");
                return;
            }   

(and tested it by increasing artificially the size of the buffer). I will
push very soon the three patches.

Thanks for the review.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120630/2b759af5/attachment.asc>


More information about the ffmpeg-devel mailing list