use av_get_bits_per_sample, compute block align if not set