[FFmpeg-devel] [PATCH]Fix LZW/ZLIB compressed 4bit tiff

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Sep 25 16:02:10 CEST 2011


On Sun, Sep 25, 2011 at 03:53:34PM +0200, Carl Eugen Hoyos wrote:
> On Sunday 25 September 2011 03:07:52 pm Reimar Döffinger wrote:
> > On Sun, Sep 25, 2011 at 02:21:10PM +0200, Carl Eugen Hoyos wrote:
> > > +    int i;
> > > +    for(i = width - 1; i >= 0; i--){
> > 
> > That looks the same as
> > while (--width >= 0)
> 
> Yes, thank you.
> 
> > However for cache reasons going through it backwards is questionable.
> 
> It is needed for LZW where src == dts.

You should add that as a note then, that src==dst is possible.


More information about the ffmpeg-devel mailing list