bv: replace custom types with standard ones
Merge branch 'bv' into codecs-fixes-20141025