Revision 3bb07d61 libavcodec/mpeg12.c

View differences:

libavcodec/mpeg12.c
1943 1943
        MPV_decode_mb(s, s->block);
1944 1944

  
1945 1945
        if (++s->mb_x >= s->mb_width) {
1946
            if(s->picture_structure==PICT_FRAME){
1947
                ff_draw_horiz_band(s, 16*s->mb_y, 16);
1948
            }else{
1949
                if(!s->first_field){
1950
                    ff_draw_horiz_band(s, 32*s->mb_y, 32);
1951
                }
1952
            }
1946
            ff_draw_horiz_band(s, 16*s->mb_y, 16);
1953 1947

  
1954 1948
            s->mb_x = 0;
1955 1949
            s->mb_y++;

Also available in: Unified diff