changeset 9623:5083846ac1f3 libavcodec

reindent
author bcoudurier
date Sun, 10 May 2009 19:11:06 +0000
parents 02715614161f
children 777deb3dc12b
files msrle.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/msrle.c	Sun May 10 19:10:37 2009 +0000
+++ b/msrle.c	Sun May 10 19:11:06 2009 +0000
@@ -80,12 +80,12 @@
     }
 
     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);