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

Albert Astals Cid aastals
Tue May 27 11:29:02 CEST 2008


pixel_ptr = y_ptr;
pixel_countdown = s->avctx->width;
while (pixel_countdown > 0) {
	*((signed short*)(&pixels[pixel_ptr])) = AV_RL16(&buf[pixel_ptr]);
	pixel_ptr += 2;
}

Does this ever end?

Albert




More information about the ffmpeg-devel mailing list