summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index e5491f3fa7..e84fa55133 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -1943,13 +1943,7 @@ static int mpeg_decode_slice(AVCodecContext *avctx,
MPV_decode_mb(s, s->block);
if (++s->mb_x >= s->mb_width) {
- if(s->picture_structure==PICT_FRAME){
- ff_draw_horiz_band(s, 16*s->mb_y, 16);
- }else{
- if(!s->first_field){
- ff_draw_horiz_band(s, 32*s->mb_y, 32);
- }
- }
+ ff_draw_horiz_band(s, 16*s->mb_y, 16);
s->mb_x = 0;
s->mb_y++;