diff options
Diffstat (limited to 'vp9/decoder')
-rw-r--r-- | vp9/decoder/vp9_decodframe.c | 5 | ||||
-rw-r--r-- | vp9/decoder/vp9_onyxd_if.c | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/vp9/decoder/vp9_decodframe.c b/vp9/decoder/vp9_decodframe.c index 58fe52c33..cda3d7c3e 100644 --- a/vp9/decoder/vp9_decodframe.c +++ b/vp9/decoder/vp9_decodframe.c @@ -989,11 +989,6 @@ int vp9_decode_frame(VP9D_COMP *pbi, const uint8_t **p_data_end) { new_fb->corrupted |= read_compressed_header(pbi, data, first_partition_size); - // Create the segmentation map structure and set to 0 - if (!pc->last_frame_seg_map) - CHECK_MEM_ERROR(pc, pc->last_frame_seg_map, - vpx_calloc((pc->mi_rows * pc->mi_cols), 1)); - setup_block_dptrs(xd, pc->subsampling_x, pc->subsampling_y); // clear out the coeff buffer diff --git a/vp9/decoder/vp9_onyxd_if.c b/vp9/decoder/vp9_onyxd_if.c index 91e26ec3e..2727c7511 100644 --- a/vp9/decoder/vp9_onyxd_if.c +++ b/vp9/decoder/vp9_onyxd_if.c @@ -160,9 +160,6 @@ void vp9_remove_decompressor(VP9D_PTR ptr) { if (!pbi) return; - if (pbi->common.last_frame_seg_map) - vpx_free(pbi->common.last_frame_seg_map); - vp9_remove_common(&pbi->common); vp9_worker_end(&pbi->lf_worker); vpx_free(pbi->lf_worker.data1); |