[FFmpeg-cvslog] Fix buffering in qpeg in a way that allows direct rendering.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Apr 28 19:32:15 CEST 2011


On Thu, Apr 28, 2011 at 02:33:28PM +0200, Michael Niedermayer wrote:
>      /* copy prev frame */
>      for(i = 0; i < height; i++)
> -        memcpy(refdata + (i * width), dst + (i * stride), width);
> +        memcpy(dst + (i * stride), refdata + (i * stride), width);

I guess rather pedantic, but doesn't this assume that the strides
are identical?
And I don't think DR1 allows such assumptions?


More information about the ffmpeg-cvslog mailing list