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

Anne-Laure de Smit annelaure.desmit
Thu Oct 1 11:22:47 CEST 2009


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
>

> > @@ -120,6 +120,7 @@
> >
> >      /* try RLE compression */
> > +    if (avctx->coder_type  != FF_CODER_TYPE_RAW)
>
> That's one space too much.
>
> Diego
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>

Ok I updated my patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: targaenc.patch
Type: application/octet-stream
Size: 812 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091001/9665e8ce/attachment.obj>



More information about the ffmpeg-devel mailing list