Use block_size for max_scan_line in pvq decoding

Change-Id: I642bc205a7d2c4d472385fbeb4323e62e17984b4
diff --git a/av1/decoder/decodeframe.c b/av1/decoder/decodeframe.c
index de40666..1f707a7 100644
--- a/av1/decoder/decodeframe.c
+++ b/av1/decoder/decodeframe.c
@@ -410,8 +410,8 @@
     int seg_id = mbmi->segment_id;
     int16_t *quant;
     FWD_TXFM_PARAM fwd_txfm_param;
-    // ToDo(yaowu): figure out how to initialize this
-    int max_scan_line = 0;
+    // ToDo(yaowu): correct this with optimal number from decoding process.
+    const int max_scan_line = tx_size_2d[tx_size];
 
     for (j = 0; j < tx_blk_size; j++)
       for (i = 0; i < tx_blk_size; i++) {