[SCM] libav/experimental: reindent

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:45:31 UTC 2013


The following commit has been merged in the experimental branch:
commit 30853173b83ee167d7cc3a7a9b4ed7b6a49bbb11
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Sun May 10 19:11:06 2009 +0000

    reindent
    
    Originally committed as revision 18786 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/msrle.c b/libavcodec/msrle.c
index 0b64be1..c64569e 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);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list