From fe363fb9e3d06fb188fccbd248044d5c5ec0d731 Mon Sep 17 00:00:00 2001 From: Ewald Snel Date: Sat, 8 Mar 2003 08:00:59 +0000 Subject: Remove these confusing lines CVS patchset: 4369 CVS date: 2003/03/08 08:00:59 --- src/libmpeg2/slice.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/libmpeg2/slice.c b/src/libmpeg2/slice.c index 3246043f8..0d2fed055 100644 --- a/src/libmpeg2/slice.c +++ b/src/libmpeg2/slice.c @@ -1446,8 +1446,6 @@ do { \ if (picture->current_frame->copy) { \ picture->current_frame->copy (picture->current_frame, \ picture->dest); \ - if (picture->picture_coding_type == B_TYPE) \ - /*break*/; \ } \ picture->dest[0] += 16 * picture->pitches[0]; \ picture->dest[1] += 8 * picture->pitches[1]; \ @@ -1542,9 +1540,7 @@ static inline int slice_init (picture_t * picture, int code) picture->v_offset = (code - 1) * 16; offset = (code - 1); -/* if (picture->current_frame->copy && picture->picture_coding_type == B_TYPE) - offset = 0; - else */if (picture->picture_structure != FRAME_PICTURE) + if (picture->picture_structure != FRAME_PICTURE) offset = 2 * offset; picture->dest[0] = picture->current_frame->base[0] + picture->pitches[0] * offset * 16; -- cgit v1.2.3