[FFmpeg-devel] Strange construct on libavcodec/flicvideo.c

David Bolt 7c6ebd986448736acd2250be77d2cc38
Wed May 28 10:12:14 CEST 2008


On Wed, 28 May 2008, Benoit Fouet wrote:-

>David Bolt wrote:
>> Index: libavcodec/flicvideo.c
>> ===================================================================
>> --- libavcodec/flicvideo.c   (revision 13473)
>> +++ libavcodec/flicvideo.c   (working copy)
>> @@ -592,6 +592,7 @@
>>                  while (pixel_countdown > 0) {
>>                      *((signed short*)(&pixels[pixel_ptr])) =
>>AV_RL16(&buf[pixel_ptr]);
>>                      pixel_ptr += 2;
>> +                    pixel_countdown--;
>>                  }
>>
>
>I think this could be merged with the while statement

It could. New patch attached.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: flicvideo.c.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080528/e95372fd/attachment.txt>
-------------- next part --------------

Regards,
        David Bolt

-- 
Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys
SUSE 10.1 32bit  | openSUSE 10.2 32bit | openSUSE 10.3 32bit | openSUSE 11.0b3
SUSE 10.1 64bit  | openSUSE 10.2 64bit | openSUSE 10.3 64bit
RISC OS 3.6      | TOS 4.02            | openSUSE 10.3 PPC   | RISC OS 3.11



More information about the ffmpeg-devel mailing list