Commit a0824678 authored by Scott LaVarnway's avatar Scott LaVarnway

Moved mb_no_coeff_skip flag read

from vp8_decode_frame() to mb_mode_mv_init()

Change-Id: I267fd764a4c826d62e6799dceb1b8fb5f97fde6d
parent 08cf9fae
......@@ -159,6 +159,9 @@ static void mb_mode_mv_init(VP8D_COMP *pbi)
* outside the frame. */
pbi->mvs_corrupt_from_mb = UINT_MAX;
#endif
/* Read the mb_no_coeff_skip flag */
pbi->common.mb_no_coeff_skip = (int)vp8_read_bit(bc);
pbi->prob_skip_false = 0;
if (pbi->common.mb_no_coeff_skip)
pbi->prob_skip_false = (vp8_prob)vp8_read_literal(bc, 8);
......
......@@ -1394,10 +1394,6 @@ int vp8_decode_frame(VP8D_COMP *pbi)
/* clear out the coeff buffer */
vpx_memset(xd->qcoeff, 0, sizeof(xd->qcoeff));
/* Read the mb_no_coeff_skip flag */
pc->mb_no_coeff_skip = (int)vp8_read_bit(bc);
vp8_decode_mode_mvs(pbi);
#if CONFIG_ERROR_CONCEALMENT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment