indentation after last commit
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 21 Oct 2007 17:23:07 +0000 (17:23 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 21 Oct 2007 17:23:07 +0000 (17:23 +0000)
Originally committed as revision 10826 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/rv10.c

index 5b1c4ec..b6719eb 100644 (file)
@@ -743,17 +743,17 @@ static int rv10_decode_frame(AVCodecContext *avctx,
     }else
         slice_count = avctx->slice_count;
 
-        for(i=0; i<slice_count; i++){
-            int offset= get_slice_offset(avctx, slices_hdr, i);
-            int size;
+    for(i=0; i<slice_count; i++){
+        int offset= get_slice_offset(avctx, slices_hdr, i);
+        int size;
 
-            if(i+1 == slice_count)
-                size= buf_size - offset;
-            else
-                size= get_slice_offset(avctx, slices_hdr, i+1) - offset;
+        if(i+1 == slice_count)
+            size= buf_size - offset;
+        else
+            size= get_slice_offset(avctx, slices_hdr, i+1) - offset;
 
-            rv10_decode_packet(avctx, buf+offset, size);
-        }
+        rv10_decode_packet(avctx, buf+offset, size);
+    }
 
     if(s->current_picture_ptr != NULL && s->mb_y>=s->mb_height){
         ff_er_frame_end(s);