[FFmpeg-devel] [PATCH] DeluxePaint Animation playback system

pross at xvid.org pross
Sat Jan 9 03:31:26 CET 2010


On Fri, Jan 08, 2010 at 04:01:23AM +0100, Michael Niedermayer wrote:
> On Fri, Jan 08, 2010 at 12:03:23AM +1100, pross at xvid.org wrote:
> > On Mon, Oct 19, 2009 at 10:36:11PM +0200, Michael Niedermayer wrote:
> > > On Sun, Oct 18, 2009 at 04:19:04PM +1100, Peter Ross wrote:
> > > > On Thu, Oct 15, 2009 at 07:01:28PM +0200, Diego Biurrun wrote:
> > > > > On Thu, Oct 15, 2009 at 07:54:05PM +1100, Peter Ross wrote:
> [...]
> > +/**
> > + * Perform decode operation
> > + * @param dst Destination image buffer
> > + * @param buf Source buffer (optional, see below)
> > + * @param pixel Fill color (optional, see below)
> > + * @param count Pixel count
> > + * @param x Pointer to x-axis counter
> > + * @param width Image width
> > + * @param linesize Destination image buffer linesize
> > + *
> > + * a copy operation is achieved when 'buf' is set
> > + * a fill operation is acheived when 'buf' is null and pixel is >= 0
> > + * a skip operation is acheived when 'buf' is null and pixel is < 0
> > + */
> > +static inline void op(uint8_t **dst, const uint8_t *dst_end,
> > +                      const uint8_t **buf, const uint8_t *buf_end,
> > +                      int pixel, int count,
> > +                      int *x, int width, int linesize)
> > +{
> 
> > +    while (((linesize > 0 && *dst < dst_end) || *dst > dst_end) &&
> > +             count > 0) {
> 
>     while (((1 && 0) || 1) && 1) {
> 
> makes linesize>0 and *dst > dst_end
> is that intended?

Nooo. Fixed in enclosed patch.

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anm-r7.diff
Type: text/x-diff
Size: 16336 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100109/d7426621/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100109/d7426621/attachment.pgp>



More information about the ffmpeg-devel mailing list