[Ffmpeg-devel] [PATCH] Fix for rgb32to15

Ivo ivop
Wed Apr 18 11:31:22 CEST 2007


On Tuesday 17 April 2007 23:28, Michael Niedermayer wrote:
> On Tue, Apr 17, 2007 at 10:58:19PM +0200, Ivo wrote:
> > In rgb32to15, the MMX code is run even if src_size is smaller than the
> > size of the units the MMX code processes. Although the code does not
> > segfault with cs_test, its behaviour is incorrect. The following patch
> > fixes this by jumping to the comparison at the end of the loop first,
> > in which case the C code will be executed for (very) small images or
> > scanlines.
>
> ok

Applied.

--Ivo




More information about the ffmpeg-devel mailing list