bv: do not increment pointer unnecessarily
bv: check index first
Merge branch 'bv' into codecs-fixes-20141023