Browse Source

fix indentation

Originally committed as revision 9336 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Måns Rullgård 18 years ago
parent
commit
e1659f0cc7
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      libavcodec/flicvideo.c

+ 4
- 4
libavcodec/flicvideo.c View File

@@ -584,12 +584,12 @@ static int flic_decode_frame_15_16BPP(AVCodecContext *avctx,
* a second pass over the line here, swapping the bytes.
*/
#ifdef WORDS_BIGENDIAN
pixel_ptr = y_ptr;
pixel_countdown = s->avctx->width;
while (pixel_countdown > 0) {
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;
}
}
#endif
y_ptr += s->frame.linesize[0];
}


Loading…
Cancel
Save