[Ffmpeg-cvslog] r8593 - trunk/libavcodec/mjpeg.c

aurel subversion
Mon Apr 2 00:20:51 CEST 2007


Author: aurel
Date: Mon Apr  2 00:20:51 2007
New Revision: 8593

Modified:
   trunk/libavcodec/mjpeg.c

Log:
cosmetics: indentation

Modified: trunk/libavcodec/mjpeg.c
==============================================================================
--- trunk/libavcodec/mjpeg.c	(original)
+++ trunk/libavcodec/mjpeg.c	Mon Apr  2 00:20:51 2007
@@ -2046,16 +2046,15 @@ static int mjpeg_decode_frame(AVCodecCon
                         *(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);




More information about the ffmpeg-cvslog mailing list