Browse Source

indentation after last commit

Originally committed as revision 10826 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Kostya Shishkov 18 years ago
parent
commit
63e6c1766c
1 changed files with 9 additions and 9 deletions
  1. +9
    -9
      libavcodec/rv10.c

+ 9
- 9
libavcodec/rv10.c View 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);


Loading…
Cancel
Save