mpegts: prevent division by zero