aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-05-10 19:11:06 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2009-05-10 19:11:06 +0000
commit30853173b83ee167d7cc3a7a9b4ed7b6a49bbb11 (patch)
tree3373575d7cf089e6c827b1109c93bcb640d588e8
parenta7e562291d16118f5d76ae39ee7ef721fa3ce04e (diff)
downloadffmpeg-30853173b83ee167d7cc3a7a9b4ed7b6a49bbb11.tar.gz
reindent
Originally committed as revision 18786 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/msrle.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c
index 0b64be12bb..c64569ede4 100644
--- a/libavcodec/msrle.c
+++ b/libavcodec/msrle.c
@@ -80,12 +80,12 @@ static int msrle_decode_frame(AVCodecContext *avctx,
}
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);