avcodec/vcr1: return the actual number of consumed bytes