From aa5563cd4139d490847730d9a339a13fd5418e73 Mon Sep 17 00:00:00 2001 From: hkuang Date: Tue, 30 Dec 2014 15:23:52 -0800 Subject: [PATCH] Remove unnecessary init_macroblockd. macroblockd are init again inside decode_tiles and decode_tiles_mt. Change-Id: I1f42837864f095c319cdb24cec7d6aa6a3a4da50 --- vp9/decoder/vp9_decodeframe.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/vp9/decoder/vp9_decodeframe.c b/vp9/decoder/vp9_decodeframe.c index 9677173db..3b8af84fa 100644 --- a/vp9/decoder/vp9_decodeframe.c +++ b/vp9/decoder/vp9_decodeframe.c @@ -1546,8 +1546,6 @@ void vp9_decode_frame(VP9Decoder *pbi, vpx_internal_error(&cm->error, VPX_CODEC_CORRUPT_FRAME, "Truncated packet or corrupt header length"); - init_macroblockd(cm, &pbi->mb); - cm->use_prev_frame_mvs = !cm->error_resilient_mode && cm->width == cm->last_width && cm->height == cm->last_height && -- 2.40.0