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

Benoit Fouet benoit.fouet
Wed May 28 09:02:35 CEST 2008


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

-- 
Benoit Fouet
Purple Labs S.A.
www.purplelabs.com




More information about the ffmpeg-devel mailing list