comparison flicvideo.c @ 5155:2ac6e904300b libavcodec

fix indentation
author mru
date Sat, 16 Jun 2007 14:52:12 +0000
parents b683b5f78fab
children 2b72f9bc4f06
comparison
equal deleted inserted replaced
5154:b683b5f78fab 5155:2ac6e904300b
582 * This does not give us any good oportunity to perform word endian conversion 582 * This does not give us any good oportunity to perform word endian conversion
583 * during decompression. So if it is required (i.e., this is not a LE target, we do 583 * during decompression. So if it is required (i.e., this is not a LE target, we do
584 * a second pass over the line here, swapping the bytes. 584 * a second pass over the line here, swapping the bytes.
585 */ 585 */
586 #ifdef WORDS_BIGENDIAN 586 #ifdef WORDS_BIGENDIAN
587 pixel_ptr = y_ptr; 587 pixel_ptr = y_ptr;
588 pixel_countdown = s->avctx->width; 588 pixel_countdown = s->avctx->width;
589 while (pixel_countdown > 0) { 589 while (pixel_countdown > 0) {
590 *((signed short*)(&pixels[pixel_ptr])) = AV_RL16(&buf[pixel_ptr]); 590 *((signed short*)(&pixels[pixel_ptr])) = AV_RL16(&buf[pixel_ptr]);
591 pixel_ptr += 2; 591 pixel_ptr += 2;
592 } 592 }
593 #endif 593 #endif
594 y_ptr += s->frame.linesize[0]; 594 y_ptr += s->frame.linesize[0];
595 } 595 }
596 break; 596 break;
597 597