[FFmpeg-devel] [PATCH] Support for TARGA images without RLE compression

Diego Biurrun diego
Thu Oct 1 11:27:44 CEST 2009


On Thu, Oct 01, 2009 at 11:22:47AM +0200, Anne-Laure de Smit wrote:
> On Thu, Oct 1, 2009 at 11:08 AM, Diego Biurrun <diego at biurrun.de> wrote:
> 
> > On Thu, Oct 01, 2009 at 11:00:22AM +0200, Anne-Laure de Smit wrote:
> > >
> > > --- libavcodec/targaenc.c     (revision 20114)
> > > +++ libavcodec/targaenc.c     (working copy)
> > > @@ -76,7 +76,7 @@
> > >      AVFrame *p = data;
> > > -    int bpp, picsize, datasize;
> > > +    int bpp, picsize, datasize=-1;
> >
> > spaces around operators please
> 
> Ok I updated my patch.

Hmmm

> --- libavcodec/targaenc.c	(revision 20114)
> +++ libavcodec/targaenc.c	(working copy)
> @@ -76,7 +76,7 @@
>      AVFrame *p = data;
> -    int bpp, picsize, datasize;
> +    int bpp, picsize, datasize= -1;

That's a space after the =, not spaces around the =.

Can you point me at sample files for testing?

Diego



More information about the ffmpeg-devel mailing list