diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 5bf2fee..ddfb49f 100644
|
a
|
b
|
static av_cold int allocate_tables(AVCodecContext *avctx)
|
| 1635 | 1635 | s->superblock_coding = av_malloc(s->superblock_count); |
| 1636 | 1636 | s->all_fragments = av_malloc(s->fragment_count * sizeof(Vp3Fragment)); |
| 1637 | 1637 | s->coded_fragment_list[0] = av_malloc(s->fragment_count * sizeof(int)); |
| 1638 | | s->dct_tokens_base = av_malloc(64*s->fragment_count * sizeof(*s->dct_tokens_base)); |
| | 1638 | s->dct_tokens_base = av_mallocz(64*s->fragment_count * sizeof(*s->dct_tokens_base)); |
| 1639 | 1639 | s->motion_val[0] = av_malloc(y_fragment_count * sizeof(*s->motion_val[0])); |
| 1640 | 1640 | s->motion_val[1] = av_malloc(c_fragment_count * sizeof(*s->motion_val[1])); |
| 1641 | 1641 | |