summaryrefslogtreecommitdiff
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index 5b1c4ec0dc..b6719eb8da 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -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);