[FFmpeg-devel] [PATCH] png parser

Peter Holik peter
Wed May 27 16:52:32 CEST 2009


> On Wed, May 27, 2009 at 03:38:02PM +0200, Peter Holik wrote:
>>
>> upps, patch for allcodecs.c missed
>>
>> --- /dev/null
>> +++ b/libavcodec/png_parser.c
>> @@ -0,0 +1,95 @@
>> +
>> +        for(; i < buf_size; i++){
>
> for () {

fixed

>> +                pc->frame_start_found = 0;
>> +                pc->state64 = 0;
>
> align
>
>> +        *poutbuf = NULL;
>> +        *poutbuf_size = 0;
>> +
>> +    *poutbuf = buf;
>> +    *poutbuf_size = buf_size;
>
> ditto

??

instead of "pc->frame_start_found = 0;"

i shoud write "pc->frame_start_found=0;" ?

cu Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: png-parser.patch
Type: text/x-diff
Size: 4118 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090527/9174c98f/attachment.patch>



More information about the ffmpeg-devel mailing list