Revision 1333d8fd

View differences:

libavcodec/mpegvideo_xvmc.c
290 290
    }
291 291
    render->filled_mv_blocks_num++;
292 292

  
293
    assert(render->filled_mv_blocks_num     <= render->total_number_of_mv_blocks);
294 293
    assert(render->next_free_data_block_num <= render->total_number_of_data_blocks);
295
    /* The above conditions should not be able to fail as long as this function
294
    /* The above condition should not be able to fail as long as this function
296 295
     * is used and the following 'if ()' automatically calls a callback to free
297 296
     * blocks. */
298 297

  
299 298

  
300 299
    if (render->filled_mv_blocks_num >= render->total_number_of_mv_blocks)
301 300
        ff_draw_horiz_band(s, 0, 0);
301
    else
302
        av_log(s->avctx, AV_LOG_ERROR, "Not all blocks have been processed.\n");
302 303
}

Also available in: Unified diff