 
 		
 		private function _DecodeDRI():void {
-            _DecodeLength();
-            if (ctx.length < 2) { throw new Error(RESULT_SYNTAX_ERROR); }
-            ctx.rstinterval = ctx.data.readUnsignedShort();
+			_DecodeLength();
+			if (ctx.length < 2) { throw new Error(RESULT_SYNTAX_ERROR); }
+			ctx.rstinterval = ctx.data.readUnsignedShort();
 			ctx.data.position += ctx.length - 2;
 			_Skip(ctx.length);
 		}


		
		private function _GetBits(bits:int):int {
            var res:int = _ShowBits(bits);
            _SkipBits(bits);
            return res;
		}

		

			for (coef = 0; coef < 64; coef += 8) {
				_RowIDCT(ctx.block, coef);
			}
			for (coef = 0;	coef < 8;  ++coef) {
				_ColIDCT(ctx.block, out, coef, c.stride);
			}
		}

		
		private function _GetVLC(vlc:Vector.<VlcCode>, code:IntValue):int {
			var value:int = _ShowBits(16);
			var bits:int = vlc[value].bits;
			if (!bits) { throw new Error(RESULT_SYNTAX_ERROR); }
			_SkipBits(bits);
			value = vlc[value].code;
			if (code) code.value = value;
			bits = value & 15;
			if (!bits) return 0;
			value = _GetBits(bits);
			if (value < (1 << (bits - 1)))
				value += ((-1) << bits) + 1;
			return value;
		}

		
