Remove unnecessary init_macroblockd.

macroblockd are init again inside decode_tiles and decode_tiles_mt.

Change-Id: I1f42837864f095c319cdb24cec7d6aa6a3a4da50
This commit is contained in:
hkuang
2014-12-30 15:23:52 -08:00
parent 32d88c2209
commit aa5563cd41

View File

@@ -1546,8 +1546,6 @@ void vp9_decode_frame(VP9Decoder *pbi,
vpx_internal_error(&cm->error, VPX_CODEC_CORRUPT_FRAME, vpx_internal_error(&cm->error, VPX_CODEC_CORRUPT_FRAME,
"Truncated packet or corrupt header length"); "Truncated packet or corrupt header length");
init_macroblockd(cm, &pbi->mb);
cm->use_prev_frame_mvs = !cm->error_resilient_mode && cm->use_prev_frame_mvs = !cm->error_resilient_mode &&
cm->width == cm->last_width && cm->width == cm->last_width &&
cm->height == cm->last_height && cm->height == cm->last_height &&