ensure av_rescale_q() can be calculated (won't divide by zero)