[FFmpeg-devel] [PATCH 1/1] Reimplement ff_img_copy_plane() as av_img_copy_plane() in libavcore, and deprecate the old function.

Stefano Sabatini stefano.sabatini-lala
Sat Aug 21 17:19:37 CEST 2010


On date Friday 2010-08-20 21:30:37 +0200, Reimar D?ffinger encoded:
> On Fri, Aug 20, 2010 at 07:49:14PM +0200, Stefano Sabatini wrote:
> > +void av_copy_image_plane(uint8_t       *dst_data, int dst_linesize,
> > +                         const uint8_t *src_data, int src_linesize,
> > +                         int width, int height)
> > +{
> > +    if ((!dst_data) || (!src_data))
> 
> I know it's just copied, but useless ()

Fixed.
-- 
FFmpeg = Fabulous & Fundamental Mystic Philosofic Elastic Glue



More information about the ffmpeg-devel mailing list