changeset 4764:da0598df2e53 libavcodec

cosmetics: indentation
author aurel
date Sun, 01 Apr 2007 22:20:51 +0000
parents 28f41c99b704
children 85298e8c55c4
files mjpeg.c
diffstat 1 files changed, 8 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/mjpeg.c	Sun Apr 01 16:14:19 2007 +0000
+++ b/mjpeg.c	Sun Apr 01 22:20:51 2007 +0000
@@ -2046,16 +2046,15 @@
                         *(dst++) = x;
                         if (avctx->codec_id != CODEC_ID_THP)
                         {
-                        if (x == 0xff)
-                        {
-                            while(src<buf_end && x == 0xff)
-                                x = *(src++);
+                            if (x == 0xff) {
+                                while (src < buf_end && x == 0xff)
+                                    x = *(src++);
 
-                            if (x >= 0xd0 && x <= 0xd7)
-                                *(dst++) = x;
-                            else if (x)
-                                break;
-                        }
+                                if (x >= 0xd0 && x <= 0xd7)
+                                    *(dst++) = x;
+                                else if (x)
+                                    break;
+                            }
                         }
                     }
                     init_get_bits(&s->gb, s->buffer, (dst - s->buffer)*8);