add blockstaticidc pointer for MD
Merge pull request #897 from lyao2/blockidc

add blockstaticidc pointer for MD
  fix vlc overflow
Merge pull request #896 from ruil2/enc_rc_4

fix vlc overflow
format update by using astyle
Merge pull request #899 from ruil2/enc_warnings

format update by using astyle
Merge remote-tracking branch 'upstream/master' into travis.osx