Mercurial > libavcodec.hg
comparison rv10.c @ 5843:ad72b1e8934a libavcodec
indentation after last commit
author | kostya |
---|---|
date | Sun, 21 Oct 2007 17:23:07 +0000 |
parents | 6eade0a54b19 |
children | a56227a0b738 |
comparison
equal
deleted
inserted
replaced
5842:6eade0a54b19 | 5843:ad72b1e8934a |
---|---|
741 slices_hdr = buf + 4; | 741 slices_hdr = buf + 4; |
742 buf += 8 * slice_count; | 742 buf += 8 * slice_count; |
743 }else | 743 }else |
744 slice_count = avctx->slice_count; | 744 slice_count = avctx->slice_count; |
745 | 745 |
746 for(i=0; i<slice_count; i++){ | 746 for(i=0; i<slice_count; i++){ |
747 int offset= get_slice_offset(avctx, slices_hdr, i); | 747 int offset= get_slice_offset(avctx, slices_hdr, i); |
748 int size; | 748 int size; |
749 | 749 |
750 if(i+1 == slice_count) | 750 if(i+1 == slice_count) |
751 size= buf_size - offset; | 751 size= buf_size - offset; |
752 else | 752 else |
753 size= get_slice_offset(avctx, slices_hdr, i+1) - offset; | 753 size= get_slice_offset(avctx, slices_hdr, i+1) - offset; |
754 | 754 |
755 rv10_decode_packet(avctx, buf+offset, size); | 755 rv10_decode_packet(avctx, buf+offset, size); |
756 } | 756 } |
757 | 757 |
758 if(s->current_picture_ptr != NULL && s->mb_y>=s->mb_height){ | 758 if(s->current_picture_ptr != NULL && s->mb_y>=s->mb_height){ |
759 ff_er_frame_end(s); | 759 ff_er_frame_end(s); |
760 MPV_frame_end(s); | 760 MPV_frame_end(s); |
761 | 761 |