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

Benoit Fouet benoit.fouet
Thu Oct 1 11:26:55 CEST 2009


Hi,

On 2009-10-01 11:22, 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
>>
> 

he meant:
datasize = -1

>>> @@ -120,6 +120,7 @@
>>>
>>>      /* try RLE compression */
>>> +    if (avctx->coder_type  != FF_CODER_TYPE_RAW)
>> That's one space too much.
>>

he meant if (avctx->coder_type != FF_CODER_TYPE_RAW)

>> Diego
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at mplayerhq.hu
>> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>>
> 
> Ok I updated my patch.
> 

please trim your quotes too, skipping the mailing list footer being part
of what you can safely remove.

Ben



More information about the ffmpeg-devel mailing list