Mercurial > libavcodec.hg
comparison mpegvideo.c @ 1628:e7420fdad5fc libavcodec
10l
author | michael |
---|---|
date | Mon, 24 Nov 2003 21:53:32 +0000 |
parents | 1dd437affd27 |
children | 74685a0ec851 |
comparison
equal
deleted
inserted
replaced
1627:a80b15c0b9d5 | 1628:e7420fdad5fc |
---|---|
468 | 468 |
469 CHECKED_ALLOCZ(s->picture, MAX_PICTURE_COUNT * sizeof(Picture)) | 469 CHECKED_ALLOCZ(s->picture, MAX_PICTURE_COUNT * sizeof(Picture)) |
470 | 470 |
471 CHECKED_ALLOCZ(s->error_status_table, mb_array_size*sizeof(uint8_t)) | 471 CHECKED_ALLOCZ(s->error_status_table, mb_array_size*sizeof(uint8_t)) |
472 | 472 |
473 if (s->out_format == FMT_H263 || s->encoding) { | 473 if (s->out_format == FMT_H263 || s->encoding || (s->avctx->debug&FF_DEBUG_VIS_MV)) { |
474 int size; | 474 int size; |
475 | 475 |
476 /* MV prediction */ | 476 /* MV prediction */ |
477 size = (2 * s->mb_width + 2) * (2 * s->mb_height + 2); | 477 size = (2 * s->mb_width + 2) * (2 * s->mb_height + 2); |
478 CHECKED_ALLOCZ(s->motion_val, size * 2 * sizeof(int16_t)); | 478 CHECKED_ALLOCZ(s->motion_val, size * 2 * sizeof(int16_t)); |