[FFmpeg-cvslog] r18786 - trunk/libavcodec/msrle.c
bcoudurier
subversion
Sun May 10 21:11:06 CEST 2009
Author: bcoudurier
Date: Sun May 10 21:11:06 2009
New Revision: 18786
Log:
reindent
Modified:
trunk/libavcodec/msrle.c
Modified: trunk/libavcodec/msrle.c
==============================================================================
--- trunk/libavcodec/msrle.c Sun May 10 21:10:37 2009 (r18785)
+++ trunk/libavcodec/msrle.c Sun May 10 21:11:06 2009 (r18786)
@@ -80,12 +80,12 @@ static int msrle_decode_frame(AVCodecCon
}
if (s->avctx->palctrl) {
- /* make the palette available */
- memcpy(s->frame.data[1], s->avctx->palctrl->palette, AVPALETTE_SIZE);
- if (s->avctx->palctrl->palette_changed) {
- s->frame.palette_has_changed = 1;
- s->avctx->palctrl->palette_changed = 0;
- }
+ /* make the palette available */
+ memcpy(s->frame.data[1], s->avctx->palctrl->palette, AVPALETTE_SIZE);
+ if (s->avctx->palctrl->palette_changed) {
+ s->frame.palette_has_changed = 1;
+ s->avctx->palctrl->palette_changed = 0;
+ }
}
ff_msrle_decode(avctx, (AVPicture*)&s->frame, avctx->bits_per_coded_sample, buf, buf_size);
More information about the ffmpeg-cvslog
mailing list