Revision d375c104 libavcodec/h263dec.c

View differences:

libavcodec/h263dec.c
35 35
#include "mpeg4video_parser.h"
36 36
#include "msmpeg4.h"
37 37
#include "vdpau_internal.h"
38
#include "thread.h"
38 39
#include "flv.h"
39 40
#include "mpeg4video.h"
40 41

  
......
235 236
                    if(++s->mb_x >= s->mb_width){
236 237
                        s->mb_x=0;
237 238
                        ff_draw_horiz_band(s, s->mb_y*mb_size, mb_size);
239
                        MPV_report_decode_progress(s);
238 240
                        s->mb_y++;
239 241
                    }
240 242
                    return 0;
......
255 257
        }
256 258

  
257 259
        ff_draw_horiz_band(s, s->mb_y*mb_size, mb_size);
260
        MPV_report_decode_progress(s);
258 261

  
259 262
        s->mb_x= 0;
260 263
    }
......
639 642
    if(MPV_frame_start(s, avctx) < 0)
640 643
        return -1;
641 644

  
645
    if (!s->divx_packed) ff_thread_finish_setup(avctx);
646

  
642 647
    if (CONFIG_MPEG4_VDPAU_DECODER && (s->avctx->codec->capabilities & CODEC_CAP_HWACCEL_VDPAU)) {
643 648
        ff_vdpau_mpeg4_decode_picture(s, s->gb.buffer, s->gb.buffer_end - s->gb.buffer);
644 649
        goto frame_end;

Also available in: Unified diff